Add copyright

This commit is contained in:
Toby Zerner 2015-09-04 11:34:54 +09:30
parent 5e725839b0
commit 87c24970c6
32 changed files with 342 additions and 27 deletions

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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';

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Commands;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Events;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Gambits;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags\Posts;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Tags;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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;