From 384330da775d6a301270427f9b22ec3c8527b403 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 4 Sep 2015 12:31:19 +0930 Subject: [PATCH] Add LICENSE information --- extensions/mentions/.php_cs | 1 - extensions/mentions/{LICENSE.txt => LICENSE} | 0 extensions/mentions/bootstrap.php | 9 +++++++++ ...2015_05_11_000000_create_mentions_posts_table.php | 9 +++++++++ ...2015_05_11_000000_create_mentions_users_table.php | 9 +++++++++ extensions/mentions/src/Extension.php | 12 +++++++++++- .../mentions/src/Listeners/AddApiRelationships.php | 12 +++++++++++- .../mentions/src/Listeners/AddClientAssets.php | 12 +++++++++++- .../mentions/src/Listeners/AddModelRelationships.php | 12 +++++++++++- .../src/Listeners/AddPostMentionsFormatter.php | 12 +++++++++++- .../src/Listeners/AddUserMentionsFormatter.php | 12 +++++++++++- .../src/Listeners/UpdatePostMentionsMetadata.php | 12 +++++++++++- .../src/Listeners/UpdateUserMentionsMetadata.php | 12 +++++++++++- .../src/Notifications/PostMentionedBlueprint.php | 12 +++++++++++- .../src/Notifications/UserMentionedBlueprint.php | 12 +++++++++++- 15 files changed, 137 insertions(+), 11 deletions(-) rename extensions/mentions/{LICENSE.txt => LICENSE} (100%) diff --git a/extensions/mentions/.php_cs b/extensions/mentions/.php_cs index c55085293..20d29c766 100755 --- a/extensions/mentions/.php_cs +++ b/extensions/mentions/.php_cs @@ -17,7 +17,6 @@ $finder = Symfony\CS\Finder\DefaultFinder::create() ->in(__DIR__); return Symfony\CS\Config\Config::create() - ->setUsingCache(true) ->level(Symfony\CS\FixerInterface::PSR2_LEVEL) ->fixers([ 'short_array_syntax', diff --git a/extensions/mentions/LICENSE.txt b/extensions/mentions/LICENSE similarity index 100% rename from extensions/mentions/LICENSE.txt rename to extensions/mentions/LICENSE diff --git a/extensions/mentions/bootstrap.php b/extensions/mentions/bootstrap.php index 3e97f8a9e..1842a192e 100644 --- a/extensions/mentions/bootstrap.php +++ b/extensions/mentions/bootstrap.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + require __DIR__.'/vendor/autoload.php'; return 'Flarum\Mentions\Extension'; diff --git a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php index ca619d0b9..cf5ce2b80 100644 --- a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php +++ b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + use Illuminate\Database\Schema\Blueprint; use Flarum\Migrations\Migration; diff --git a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php index d54223176..364a22552 100644 --- a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php +++ b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + use Illuminate\Database\Schema\Blueprint; use Flarum\Migrations\Migration; diff --git a/extensions/mentions/src/Extension.php b/extensions/mentions/src/Extension.php index bb2e82cfc..b29730113 100644 --- a/extensions/mentions/src/Extension.php +++ b/extensions/mentions/src/Extension.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions; use Flarum\Support\Extension as BaseExtension; use Illuminate\Events\Dispatcher; diff --git a/extensions/mentions/src/Listeners/AddApiRelationships.php b/extensions/mentions/src/Listeners/AddApiRelationships.php index ef660955b..f39ec7a13 100755 --- a/extensions/mentions/src/Listeners/AddApiRelationships.php +++ b/extensions/mentions/src/Listeners/AddApiRelationships.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Events\ApiRelationship; use Flarum\Events\BuildApiAction; diff --git a/extensions/mentions/src/Listeners/AddClientAssets.php b/extensions/mentions/src/Listeners/AddClientAssets.php index 29ea045ab..97bd1bc54 100755 --- a/extensions/mentions/src/Listeners/AddClientAssets.php +++ b/extensions/mentions/src/Listeners/AddClientAssets.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Events\RegisterLocales; use Flarum\Events\BuildClientView; diff --git a/extensions/mentions/src/Listeners/AddModelRelationships.php b/extensions/mentions/src/Listeners/AddModelRelationships.php index d7f9360ee..d41f7db7b 100755 --- a/extensions/mentions/src/Listeners/AddModelRelationships.php +++ b/extensions/mentions/src/Listeners/AddModelRelationships.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Events\ModelRelationship; use Flarum\Core\Posts\Post; diff --git a/extensions/mentions/src/Listeners/AddPostMentionsFormatter.php b/extensions/mentions/src/Listeners/AddPostMentionsFormatter.php index b1355a2ab..0c7cd9948 100755 --- a/extensions/mentions/src/Listeners/AddPostMentionsFormatter.php +++ b/extensions/mentions/src/Listeners/AddPostMentionsFormatter.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Events\FormatterConfigurator; use Flarum\Core\Posts\CommentPost; diff --git a/extensions/mentions/src/Listeners/AddUserMentionsFormatter.php b/extensions/mentions/src/Listeners/AddUserMentionsFormatter.php index a5c01dab7..aaf9ab3c4 100755 --- a/extensions/mentions/src/Listeners/AddUserMentionsFormatter.php +++ b/extensions/mentions/src/Listeners/AddUserMentionsFormatter.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Events\FormatterConfigurator; use Flarum\Events\FormatterRenderer; diff --git a/extensions/mentions/src/Listeners/UpdatePostMentionsMetadata.php b/extensions/mentions/src/Listeners/UpdatePostMentionsMetadata.php index d4c027ed4..beafa3085 100755 --- a/extensions/mentions/src/Listeners/UpdatePostMentionsMetadata.php +++ b/extensions/mentions/src/Listeners/UpdatePostMentionsMetadata.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Mentions\Notifications\PostMentionedBlueprint; use Flarum\Core\Notifications\NotificationSyncer; diff --git a/extensions/mentions/src/Listeners/UpdateUserMentionsMetadata.php b/extensions/mentions/src/Listeners/UpdateUserMentionsMetadata.php index 9639a22c4..28446f901 100755 --- a/extensions/mentions/src/Listeners/UpdateUserMentionsMetadata.php +++ b/extensions/mentions/src/Listeners/UpdateUserMentionsMetadata.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Listeners; use Flarum\Mentions\Notifications\UserMentionedBlueprint; use Flarum\Core\Notifications\NotificationSyncer; diff --git a/extensions/mentions/src/Notifications/PostMentionedBlueprint.php b/extensions/mentions/src/Notifications/PostMentionedBlueprint.php index 1f9f84653..0e678d2ec 100644 --- a/extensions/mentions/src/Notifications/PostMentionedBlueprint.php +++ b/extensions/mentions/src/Notifications/PostMentionedBlueprint.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Notifications; use Flarum\Core\Posts\Post; use Flarum\Core\Notifications\Blueprint; diff --git a/extensions/mentions/src/Notifications/UserMentionedBlueprint.php b/extensions/mentions/src/Notifications/UserMentionedBlueprint.php index c86f1dcfe..5e76864bc 100644 --- a/extensions/mentions/src/Notifications/UserMentionedBlueprint.php +++ b/extensions/mentions/src/Notifications/UserMentionedBlueprint.php @@ -1,4 +1,14 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Mentions\Notifications; use Flarum\Core\Users\User; use Flarum\Core\Posts\Post;