Add LICENSE information

This commit is contained in:
Toby Zerner 2015-09-04 12:32:04 +09:30
parent 4a7d39cacf
commit 8480563f1e
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\Lock\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\Lock\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\Lock\Events;
use Flarum\Core\Discussions\Discussion;
use Flarum\Core\Users\User;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Lock\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\Lock\Listeners;
use Flarum\Lock\Events\DiscussionWasLocked;
use Flarum\Lock\Events\DiscussionWasUnlocked;

View File

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

View File

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