Add LICENSE information

This commit is contained in:
Toby Zerner 2015-09-04 12:32:27 +09:30
parent fc43fd8fb4
commit f02d0ec602
14 changed files with 126 additions and 10 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\Likes\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\Core\Groups\Group;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,14 @@
<?php namespace Flarum\Likes\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\Likes\Listeners;
use Flarum\Likes\Events\PostWasLiked;
use Flarum\Likes\Events\PostWasUnliked;

View File

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