diff --git a/extensions/sticky/.php_cs b/extensions/sticky/.php_cs index c55085293..20d29c766 100755 --- a/extensions/sticky/.php_cs +++ b/extensions/sticky/.php_cs @@ -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', diff --git a/extensions/sticky/LICENSE.txt b/extensions/sticky/LICENSE similarity index 100% rename from extensions/sticky/LICENSE.txt rename to extensions/sticky/LICENSE diff --git a/extensions/sticky/bootstrap.php b/extensions/sticky/bootstrap.php index 0afa317f8..bc8469b1e 100644 --- a/extensions/sticky/bootstrap.php +++ b/extensions/sticky/bootstrap.php @@ -1,5 +1,14 @@ + * + * 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'; diff --git a/extensions/sticky/migrations/2015_02_24_000000_add_sticky_to_discussions.php b/extensions/sticky/migrations/2015_02_24_000000_add_sticky_to_discussions.php index 0afb5472a..6cd1b1984 100644 --- a/extensions/sticky/migrations/2015_02_24_000000_add_sticky_to_discussions.php +++ b/extensions/sticky/migrations/2015_02_24_000000_add_sticky_to_discussions.php @@ -1,5 +1,14 @@ + * + * 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; diff --git a/extensions/sticky/src/Events/DiscussionWasStickied.php b/extensions/sticky/src/Events/DiscussionWasStickied.php index f1747a406..da2ed195d 100644 --- a/extensions/sticky/src/Events/DiscussionWasStickied.php +++ b/extensions/sticky/src/Events/DiscussionWasStickied.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Events/DiscussionWasUnstickied.php b/extensions/sticky/src/Events/DiscussionWasUnstickied.php index f416d9adc..06b07799d 100644 --- a/extensions/sticky/src/Events/DiscussionWasUnstickied.php +++ b/extensions/sticky/src/Events/DiscussionWasUnstickied.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Extension.php b/extensions/sticky/src/Extension.php index e8ef27b9f..96373f954 100644 --- a/extensions/sticky/src/Extension.php +++ b/extensions/sticky/src/Extension.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Gambits/StickyGambit.php b/extensions/sticky/src/Gambits/StickyGambit.php index 2915ad1b9..a8639b72b 100644 --- a/extensions/sticky/src/Gambits/StickyGambit.php +++ b/extensions/sticky/src/Gambits/StickyGambit.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Listeners/AddApiAttributes.php b/extensions/sticky/src/Listeners/AddApiAttributes.php index 90904fce7..d230e623a 100755 --- a/extensions/sticky/src/Listeners/AddApiAttributes.php +++ b/extensions/sticky/src/Listeners/AddApiAttributes.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Listeners/AddClientAssets.php b/extensions/sticky/src/Listeners/AddClientAssets.php index c7bf5e6bc..5ef5b64ce 100755 --- a/extensions/sticky/src/Listeners/AddClientAssets.php +++ b/extensions/sticky/src/Listeners/AddClientAssets.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Listeners/NotifyDiscussionStickied.php b/extensions/sticky/src/Listeners/NotifyDiscussionStickied.php index 1244cb934..0bcccfc44 100755 --- a/extensions/sticky/src/Listeners/NotifyDiscussionStickied.php +++ b/extensions/sticky/src/Listeners/NotifyDiscussionStickied.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Listeners/PersistData.php b/extensions/sticky/src/Listeners/PersistData.php index 6a70088ef..13b9a3879 100755 --- a/extensions/sticky/src/Listeners/PersistData.php +++ b/extensions/sticky/src/Listeners/PersistData.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Listeners/PinStickiedDiscussionsToTop.php b/extensions/sticky/src/Listeners/PinStickiedDiscussionsToTop.php index cde0d2526..8fd1dd913 100755 --- a/extensions/sticky/src/Listeners/PinStickiedDiscussionsToTop.php +++ b/extensions/sticky/src/Listeners/PinStickiedDiscussionsToTop.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Notifications/DiscussionStickiedBlueprint.php b/extensions/sticky/src/Notifications/DiscussionStickiedBlueprint.php index badad33d2..c12299d66 100644 --- a/extensions/sticky/src/Notifications/DiscussionStickiedBlueprint.php +++ b/extensions/sticky/src/Notifications/DiscussionStickiedBlueprint.php @@ -1,4 +1,14 @@ - + * + * 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; diff --git a/extensions/sticky/src/Posts/DiscussionStickiedPost.php b/extensions/sticky/src/Posts/DiscussionStickiedPost.php index 9af84f4c2..df05739a1 100755 --- a/extensions/sticky/src/Posts/DiscussionStickiedPost.php +++ b/extensions/sticky/src/Posts/DiscussionStickiedPost.php @@ -1,4 +1,14 @@ - + * + * 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;