mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
Add LICENSE information
This commit is contained in:
@@ -17,7 +17,6 @@ $finder = Symfony\CS\Finder\DefaultFinder::create()
|
|||||||
->in(__DIR__);
|
->in(__DIR__);
|
||||||
|
|
||||||
return Symfony\CS\Config\Config::create()
|
return Symfony\CS\Config\Config::create()
|
||||||
->setUsingCache(true)
|
|
||||||
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
|
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
|
||||||
->fixers([
|
->fixers([
|
||||||
'short_array_syntax',
|
'short_array_syntax',
|
||||||
|
@@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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';
|
require __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
return 'Flarum\Likes\Extension';
|
return 'Flarum\Likes\Extension';
|
||||||
|
@@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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 Illuminate\Database\Schema\Blueprint;
|
||||||
use Flarum\Migrations\Migration;
|
use Flarum\Migrations\Migration;
|
||||||
|
|
||||||
|
@@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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 Illuminate\Database\Schema\Blueprint;
|
||||||
use Flarum\Migrations\Migration;
|
use Flarum\Migrations\Migration;
|
||||||
use Flarum\Core\Groups\Group;
|
use Flarum\Core\Groups\Group;
|
||||||
|
@@ -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\Posts\Post;
|
||||||
use Flarum\Core\Users\User;
|
use Flarum\Core\Users\User;
|
||||||
|
@@ -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\Posts\Post;
|
||||||
use Flarum\Core\Users\User;
|
use Flarum\Core\Users\User;
|
||||||
|
@@ -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 Flarum\Support\Extension as BaseExtension;
|
||||||
use Illuminate\Events\Dispatcher;
|
use Illuminate\Events\Dispatcher;
|
||||||
|
@@ -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\ApiAttributes;
|
||||||
use Flarum\Events\ApiRelationship;
|
use Flarum\Events\ApiRelationship;
|
||||||
|
@@ -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\RegisterLocales;
|
||||||
use Flarum\Events\BuildClientView;
|
use Flarum\Events\BuildClientView;
|
||||||
|
@@ -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\Events\ModelRelationship;
|
||||||
use Flarum\Core\Posts\Post;
|
use Flarum\Core\Posts\Post;
|
||||||
|
@@ -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\Likes\Notifications\PostLikedBlueprint;
|
||||||
use Flarum\Events\RegisterNotificationTypes;
|
use Flarum\Events\RegisterNotificationTypes;
|
||||||
|
@@ -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\PostWasLiked;
|
||||||
use Flarum\Likes\Events\PostWasUnliked;
|
use Flarum\Likes\Events\PostWasUnliked;
|
||||||
|
@@ -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\Posts\Post;
|
||||||
use Flarum\Core\Users\User;
|
use Flarum\Core\Users\User;
|
||||||
|
Reference in New Issue
Block a user