From 87c24970c6fcb5db6faf5f33af03bb8b82ec2a62 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 4 Sep 2015 11:34:54 +0930 Subject: [PATCH] Add copyright --- extensions/tags/bootstrap.php | 9 +++++++++ ...15_02_24_000000_create_discussions_tags_table.php | 9 +++++++++ .../2015_02_24_000000_create_tags_table.php | 9 +++++++++ .../2015_02_24_000000_create_users_tags_table.php | 9 +++++++++ .../2015_02_24_000000_set_default_settings.php | 9 +++++++++ extensions/tags/src/Api/CreateAction.php | 12 +++++++++++- extensions/tags/src/Api/DeleteAction.php | 12 +++++++++++- extensions/tags/src/Api/OrderAction.php | 12 +++++++++++- extensions/tags/src/Api/TagSerializer.php | 12 +++++++++++- extensions/tags/src/Api/UpdateAction.php | 12 +++++++++++- extensions/tags/src/Commands/CreateTag.php | 12 +++++++++++- extensions/tags/src/Commands/CreateTagHandler.php | 12 +++++++++++- extensions/tags/src/Commands/DeleteTag.php | 12 +++++++++++- extensions/tags/src/Commands/DeleteTagHandler.php | 12 +++++++++++- extensions/tags/src/Commands/EditTag.php | 12 +++++++++++- extensions/tags/src/Commands/EditTagHandler.php | 12 +++++++++++- extensions/tags/src/Events/DiscussionWasTagged.php | 12 +++++++++++- extensions/tags/src/Extension.php | 12 +++++++++++- extensions/tags/src/Gambits/TagGambit.php | 12 +++++++++++- extensions/tags/src/Listeners/AddApiAttributes.php | 12 +++++++++++- extensions/tags/src/Listeners/AddClientAssets.php | 12 +++++++++++- .../tags/src/Listeners/AddModelRelationship.php | 12 +++++++++++- extensions/tags/src/Listeners/AddTagGambit.php | 12 +++++++++++- .../src/Listeners/ConfigureDiscussionPermissions.php | 12 +++++++++++- .../tags/src/Listeners/ConfigureTagPermissions.php | 12 +++++++++++- .../tags/src/Listeners/LogDiscussionTagged.php | 12 +++++++++++- extensions/tags/src/Listeners/PersistData.php | 12 +++++++++++- extensions/tags/src/Listeners/UpdateTagMetadata.php | 12 +++++++++++- extensions/tags/src/Posts/DiscussionTaggedPost.php | 12 +++++++++++- extensions/tags/src/Tag.php | 12 +++++++++++- extensions/tags/src/TagCountException.php | 12 +++++++++++- extensions/tags/src/TagRepository.php | 12 +++++++++++- 32 files changed, 342 insertions(+), 27 deletions(-) diff --git a/extensions/tags/bootstrap.php b/extensions/tags/bootstrap.php index 4877c0f8f..36cbb94e5 100644 --- a/extensions/tags/bootstrap.php +++ b/extensions/tags/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\Tags\Extension'; diff --git a/extensions/tags/migrations/2015_02_24_000000_create_discussions_tags_table.php b/extensions/tags/migrations/2015_02_24_000000_create_discussions_tags_table.php index 136a39062..4a117304d 100644 --- a/extensions/tags/migrations/2015_02_24_000000_create_discussions_tags_table.php +++ b/extensions/tags/migrations/2015_02_24_000000_create_discussions_tags_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/tags/migrations/2015_02_24_000000_create_tags_table.php b/extensions/tags/migrations/2015_02_24_000000_create_tags_table.php index 4a3e913e0..35e71256b 100644 --- a/extensions/tags/migrations/2015_02_24_000000_create_tags_table.php +++ b/extensions/tags/migrations/2015_02_24_000000_create_tags_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; use Flarum\Tags\Tag; diff --git a/extensions/tags/migrations/2015_02_24_000000_create_users_tags_table.php b/extensions/tags/migrations/2015_02_24_000000_create_users_tags_table.php index 154fc8901..af984e6fd 100644 --- a/extensions/tags/migrations/2015_02_24_000000_create_users_tags_table.php +++ b/extensions/tags/migrations/2015_02_24_000000_create_users_tags_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/tags/migrations/2015_02_24_000000_set_default_settings.php b/extensions/tags/migrations/2015_02_24_000000_set_default_settings.php index e2d8e5e6e..b07241ad7 100644 --- a/extensions/tags/migrations/2015_02_24_000000_set_default_settings.php +++ b/extensions/tags/migrations/2015_02_24_000000_set_default_settings.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\Builder; use Illuminate\Database\Schema\Blueprint; use Flarum\Migrations\Migration; diff --git a/extensions/tags/src/Api/CreateAction.php b/extensions/tags/src/Api/CreateAction.php index f4044fba9..819ca81f5 100644 --- a/extensions/tags/src/Api/CreateAction.php +++ b/extensions/tags/src/Api/CreateAction.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\Tags\Api; use Flarum\Tags\Commands\CreateTag; use Flarum\Api\Actions\CreateAction as BaseCreateAction; diff --git a/extensions/tags/src/Api/DeleteAction.php b/extensions/tags/src/Api/DeleteAction.php index b086f72f7..1767c82e2 100644 --- a/extensions/tags/src/Api/DeleteAction.php +++ b/extensions/tags/src/Api/DeleteAction.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\Tags\Api; use Flarum\Tags\Commands\DeleteTag; use Flarum\Api\Actions\DeleteAction as BaseDeleteAction; diff --git a/extensions/tags/src/Api/OrderAction.php b/extensions/tags/src/Api/OrderAction.php index 0404fef16..b4db5bd7f 100644 --- a/extensions/tags/src/Api/OrderAction.php +++ b/extensions/tags/src/Api/OrderAction.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\Tags\Api; use Flarum\Api\Actions\JsonApiAction; use Flarum\Api\Request; diff --git a/extensions/tags/src/Api/TagSerializer.php b/extensions/tags/src/Api/TagSerializer.php index 9bfaa9e3e..3d5a51b5c 100644 --- a/extensions/tags/src/Api/TagSerializer.php +++ b/extensions/tags/src/Api/TagSerializer.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\Tags\Api; use Flarum\Api\Serializers\Serializer; diff --git a/extensions/tags/src/Api/UpdateAction.php b/extensions/tags/src/Api/UpdateAction.php index f3f402e8f..4ef864444 100644 --- a/extensions/tags/src/Api/UpdateAction.php +++ b/extensions/tags/src/Api/UpdateAction.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\Tags\Api; use Flarum\Tags\Commands\EditTag; use Flarum\Api\Actions\SerializeResourceAction; diff --git a/extensions/tags/src/Commands/CreateTag.php b/extensions/tags/src/Commands/CreateTag.php index e986e5966..327c9709f 100644 --- a/extensions/tags/src/Commands/CreateTag.php +++ b/extensions/tags/src/Commands/CreateTag.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\Tags\Commands; use Flarum\Core\Users\User; diff --git a/extensions/tags/src/Commands/CreateTagHandler.php b/extensions/tags/src/Commands/CreateTagHandler.php index b2c3ec769..94e4d2f9c 100644 --- a/extensions/tags/src/Commands/CreateTagHandler.php +++ b/extensions/tags/src/Commands/CreateTagHandler.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\Tags\Commands; use Flarum\Tags\Tag; use Flarum\Core\Forum; diff --git a/extensions/tags/src/Commands/DeleteTag.php b/extensions/tags/src/Commands/DeleteTag.php index fe73bf392..d6a8dc0d3 100644 --- a/extensions/tags/src/Commands/DeleteTag.php +++ b/extensions/tags/src/Commands/DeleteTag.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\Tags\Commands; use Flarum\Tags\Tag; use Flarum\Core\Users\User; diff --git a/extensions/tags/src/Commands/DeleteTagHandler.php b/extensions/tags/src/Commands/DeleteTagHandler.php index d3d441c92..0be93a7bb 100644 --- a/extensions/tags/src/Commands/DeleteTagHandler.php +++ b/extensions/tags/src/Commands/DeleteTagHandler.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\Tags\Commands; use Flarum\Tags\Tag; use Flarum\Tags\TagRepository; diff --git a/extensions/tags/src/Commands/EditTag.php b/extensions/tags/src/Commands/EditTag.php index 6407fead3..cc4801387 100644 --- a/extensions/tags/src/Commands/EditTag.php +++ b/extensions/tags/src/Commands/EditTag.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\Tags\Commands; use Flarum\Core\Tags\Tag; use Flarum\Core\Users\User; diff --git a/extensions/tags/src/Commands/EditTagHandler.php b/extensions/tags/src/Commands/EditTagHandler.php index 81741b184..59b8fd3e9 100644 --- a/extensions/tags/src/Commands/EditTagHandler.php +++ b/extensions/tags/src/Commands/EditTagHandler.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\Tags\Commands; use Flarum\Tags\Tag; use Flarum\Tags\TagRepository; diff --git a/extensions/tags/src/Events/DiscussionWasTagged.php b/extensions/tags/src/Events/DiscussionWasTagged.php index 727a4a458..f269af105 100644 --- a/extensions/tags/src/Events/DiscussionWasTagged.php +++ b/extensions/tags/src/Events/DiscussionWasTagged.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\Tags\Events; use Flarum\Core\Discussions\Discussion; use Flarum\Core\Users\User; diff --git a/extensions/tags/src/Extension.php b/extensions/tags/src/Extension.php index ab796259e..38217a1ef 100644 --- a/extensions/tags/src/Extension.php +++ b/extensions/tags/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\Tags; use Flarum\Support\Extension as BaseExtension; use Illuminate\Events\Dispatcher; diff --git a/extensions/tags/src/Gambits/TagGambit.php b/extensions/tags/src/Gambits/TagGambit.php index 43454f019..6b5f775cd 100644 --- a/extensions/tags/src/Gambits/TagGambit.php +++ b/extensions/tags/src/Gambits/TagGambit.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\Tags\Gambits; use Flarum\Tags\TagRepository; use Flarum\Core\Search\Search; diff --git a/extensions/tags/src/Listeners/AddApiAttributes.php b/extensions/tags/src/Listeners/AddApiAttributes.php index 44f340ddf..2e320c1f5 100755 --- a/extensions/tags/src/Listeners/AddApiAttributes.php +++ b/extensions/tags/src/Listeners/AddApiAttributes.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\Tags\Listeners; use Flarum\Events\ApiRelationship; use Flarum\Events\WillSerializeData; diff --git a/extensions/tags/src/Listeners/AddClientAssets.php b/extensions/tags/src/Listeners/AddClientAssets.php index c2934b513..5e39e93d5 100755 --- a/extensions/tags/src/Listeners/AddClientAssets.php +++ b/extensions/tags/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\Tags\Listeners; use Flarum\Events\RegisterLocales; use Flarum\Events\BuildClientView; diff --git a/extensions/tags/src/Listeners/AddModelRelationship.php b/extensions/tags/src/Listeners/AddModelRelationship.php index 89af0180b..12d3d7c35 100755 --- a/extensions/tags/src/Listeners/AddModelRelationship.php +++ b/extensions/tags/src/Listeners/AddModelRelationship.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\Tags\Listeners; use Flarum\Events\ModelRelationship; use Flarum\Core\Discussions\Discussion; diff --git a/extensions/tags/src/Listeners/AddTagGambit.php b/extensions/tags/src/Listeners/AddTagGambit.php index 51dd98a44..886d27151 100755 --- a/extensions/tags/src/Listeners/AddTagGambit.php +++ b/extensions/tags/src/Listeners/AddTagGambit.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\Tags\Listeners; use Flarum\Events\RegisterDiscussionGambits; use Flarum\Events\DiscussionSearchWillBePerformed; diff --git a/extensions/tags/src/Listeners/ConfigureDiscussionPermissions.php b/extensions/tags/src/Listeners/ConfigureDiscussionPermissions.php index a7ddd403b..80d8ff440 100755 --- a/extensions/tags/src/Listeners/ConfigureDiscussionPermissions.php +++ b/extensions/tags/src/Listeners/ConfigureDiscussionPermissions.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\Tags\Listeners; use Flarum\Events\ScopeModelVisibility; use Flarum\Events\ScopeEmptyDiscussionVisibility; diff --git a/extensions/tags/src/Listeners/ConfigureTagPermissions.php b/extensions/tags/src/Listeners/ConfigureTagPermissions.php index 404c02c4b..a4e9e36bd 100755 --- a/extensions/tags/src/Listeners/ConfigureTagPermissions.php +++ b/extensions/tags/src/Listeners/ConfigureTagPermissions.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\Tags\Listeners; use Flarum\Events\ScopeModelVisibility; use Flarum\Events\ModelAllow; diff --git a/extensions/tags/src/Listeners/LogDiscussionTagged.php b/extensions/tags/src/Listeners/LogDiscussionTagged.php index de12c30d7..b44ba20dc 100755 --- a/extensions/tags/src/Listeners/LogDiscussionTagged.php +++ b/extensions/tags/src/Listeners/LogDiscussionTagged.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\Tags\Listeners; use Flarum\Events\RegisterPostTypes; use Flarum\Tags\Posts\DiscussionTaggedPost; diff --git a/extensions/tags/src/Listeners/PersistData.php b/extensions/tags/src/Listeners/PersistData.php index cacf96b9c..cfee7142a 100755 --- a/extensions/tags/src/Listeners/PersistData.php +++ b/extensions/tags/src/Listeners/PersistData.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\Tags\Listeners; use Flarum\Tags\Tag; use Flarum\Tags\Events\DiscussionWasTagged; diff --git a/extensions/tags/src/Listeners/UpdateTagMetadata.php b/extensions/tags/src/Listeners/UpdateTagMetadata.php index a26343de6..635bc45ad 100755 --- a/extensions/tags/src/Listeners/UpdateTagMetadata.php +++ b/extensions/tags/src/Listeners/UpdateTagMetadata.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\Tags\Listeners; use Flarum\Tags\Tag; use Flarum\Tags\Events\DiscussionWasTagged; diff --git a/extensions/tags/src/Posts/DiscussionTaggedPost.php b/extensions/tags/src/Posts/DiscussionTaggedPost.php index d7626d799..35870caae 100755 --- a/extensions/tags/src/Posts/DiscussionTaggedPost.php +++ b/extensions/tags/src/Posts/DiscussionTaggedPost.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\Tags\Posts; use Flarum\Core\Posts\Post; use Flarum\Core\Posts\EventPost; diff --git a/extensions/tags/src/Tag.php b/extensions/tags/src/Tag.php index 651e467a4..89da0f0ba 100644 --- a/extensions/tags/src/Tag.php +++ b/extensions/tags/src/Tag.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\Tags; use Flarum\Core\Model; use Flarum\Core\Discussions\Discussion; diff --git a/extensions/tags/src/TagCountException.php b/extensions/tags/src/TagCountException.php index b59614d2b..12c1fd148 100644 --- a/extensions/tags/src/TagCountException.php +++ b/extensions/tags/src/TagCountException.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\Tags; use Flarum\Core\Exceptions\ValidationException; diff --git a/extensions/tags/src/TagRepository.php b/extensions/tags/src/TagRepository.php index 1093387ab..b104d0b5d 100644 --- a/extensions/tags/src/TagRepository.php +++ b/extensions/tags/src/TagRepository.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\Tags; use Illuminate\Database\Eloquent\Builder; use Flarum\Core\Users\User;