Add LICENSE information

This commit is contained in:
Toby Zerner 2015-09-04 12:30:25 +09:30
parent 33c86f38f1
commit 3ab62fb0ca
15 changed files with 139 additions and 12 deletions

View File

@ -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',

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\Sticky\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,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Events;
use Flarum\Core\Discussions\Discussion;
use Flarum\Core\Users\User;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Events;
use Flarum\Core\Discussions\Discussion;
use Flarum\Core\Users\User;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky;
<?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\Sticky;
use Flarum\Support\Extension as BaseExtension;
use Illuminate\Events\Dispatcher;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Gambits;
use Flarum\Core\Search\Search;
use Flarum\Core\Search\RegexGambit;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Listeners;
use Flarum\Events\ApiAttributes;
use Flarum\Events\BuildApiAction;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Listeners;
use Flarum\Events\RegisterLocales;
use Flarum\Events\BuildClientView;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Listeners;
use Flarum\Events\RegisterPostTypes;
use Flarum\Events\RegisterNotificationTypes;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Listeners;
use Flarum\Sticky\Events\DiscussionWasStickied;
use Flarum\Sticky\Events\DiscussionWasUnstickied;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Listeners;
use Flarum\Events\RegisterDiscussionGambits;
use Flarum\Events\DiscussionSearchWillBePerformed;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\Notifications;
<?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\Sticky\Notifications;
use Flarum\Sticky\Posts\DiscussionStickiedPost;
use Flarum\Core\Notifications\Blueprint;

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Sticky\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\Sticky\Posts;
use Flarum\Core\Posts\Post;
use Flarum\Core\Posts\EventPost;