From e9f298bf8969c7ac22bdae605cfa05e854396e53 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 29 Nov 2019 23:02:29 +0000 Subject: [PATCH] Apply fixes from StyleCI --- extensions/sticky/extend.php | 6 ++---- .../2015_02_24_000000_add_sticky_to_discussions.php | 6 ++---- .../2017_07_22_000000_add_default_permissions.php | 6 ++---- .../2018_09_15_043621_add_discussions_indices.php | 6 ++---- extensions/sticky/src/Event/DiscussionWasStickied.php | 6 ++---- extensions/sticky/src/Event/DiscussionWasUnstickied.php | 6 ++---- extensions/sticky/src/Gambit/StickyGambit.php | 6 ++---- extensions/sticky/src/Listener/AddApiAttributes.php | 6 ++---- .../src/Listener/CreatePostWhenDiscussionIsStickied.php | 6 ++---- .../sticky/src/Listener/PinStickiedDiscussionsToTop.php | 6 ++---- extensions/sticky/src/Listener/SaveStickyToDatabase.php | 6 ++---- extensions/sticky/src/Post/DiscussionStickiedPost.php | 6 ++---- 12 files changed, 24 insertions(+), 48 deletions(-) diff --git a/extensions/sticky/extend.php b/extensions/sticky/extend.php index 770f030d4..f496c26c8 100644 --- a/extensions/sticky/extend.php +++ b/extensions/sticky/extend.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ use Flarum\Extend; 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 b728d540c..615e08387 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 @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ use Flarum\Database\Migration; diff --git a/extensions/sticky/migrations/2017_07_22_000000_add_default_permissions.php b/extensions/sticky/migrations/2017_07_22_000000_add_default_permissions.php index 98ffb1ecd..b4c073d71 100644 --- a/extensions/sticky/migrations/2017_07_22_000000_add_default_permissions.php +++ b/extensions/sticky/migrations/2017_07_22_000000_add_default_permissions.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ use Flarum\Database\Migration; diff --git a/extensions/sticky/migrations/2018_09_15_043621_add_discussions_indices.php b/extensions/sticky/migrations/2018_09_15_043621_add_discussions_indices.php index 315c35333..c700c95a1 100644 --- a/extensions/sticky/migrations/2018_09_15_043621_add_discussions_indices.php +++ b/extensions/sticky/migrations/2018_09_15_043621_add_discussions_indices.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ use Illuminate\Database\Schema\Blueprint; diff --git a/extensions/sticky/src/Event/DiscussionWasStickied.php b/extensions/sticky/src/Event/DiscussionWasStickied.php index e7b178685..4c4a7b8c6 100644 --- a/extensions/sticky/src/Event/DiscussionWasStickied.php +++ b/extensions/sticky/src/Event/DiscussionWasStickied.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Event; diff --git a/extensions/sticky/src/Event/DiscussionWasUnstickied.php b/extensions/sticky/src/Event/DiscussionWasUnstickied.php index 80be3b324..d224ded98 100644 --- a/extensions/sticky/src/Event/DiscussionWasUnstickied.php +++ b/extensions/sticky/src/Event/DiscussionWasUnstickied.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Event; diff --git a/extensions/sticky/src/Gambit/StickyGambit.php b/extensions/sticky/src/Gambit/StickyGambit.php index fd81c687f..f6d7606f6 100644 --- a/extensions/sticky/src/Gambit/StickyGambit.php +++ b/extensions/sticky/src/Gambit/StickyGambit.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Gambit; diff --git a/extensions/sticky/src/Listener/AddApiAttributes.php b/extensions/sticky/src/Listener/AddApiAttributes.php index b40f803fe..9afc4c1d8 100755 --- a/extensions/sticky/src/Listener/AddApiAttributes.php +++ b/extensions/sticky/src/Listener/AddApiAttributes.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Listener; diff --git a/extensions/sticky/src/Listener/CreatePostWhenDiscussionIsStickied.php b/extensions/sticky/src/Listener/CreatePostWhenDiscussionIsStickied.php index ae2c06548..9870790fc 100755 --- a/extensions/sticky/src/Listener/CreatePostWhenDiscussionIsStickied.php +++ b/extensions/sticky/src/Listener/CreatePostWhenDiscussionIsStickied.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Listener; diff --git a/extensions/sticky/src/Listener/PinStickiedDiscussionsToTop.php b/extensions/sticky/src/Listener/PinStickiedDiscussionsToTop.php index 646fe9cd3..69fd678f0 100755 --- a/extensions/sticky/src/Listener/PinStickiedDiscussionsToTop.php +++ b/extensions/sticky/src/Listener/PinStickiedDiscussionsToTop.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Listener; diff --git a/extensions/sticky/src/Listener/SaveStickyToDatabase.php b/extensions/sticky/src/Listener/SaveStickyToDatabase.php index 19b37673c..7ed438686 100755 --- a/extensions/sticky/src/Listener/SaveStickyToDatabase.php +++ b/extensions/sticky/src/Listener/SaveStickyToDatabase.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Listener; diff --git a/extensions/sticky/src/Post/DiscussionStickiedPost.php b/extensions/sticky/src/Post/DiscussionStickiedPost.php index 6e3792989..c9204b1e0 100755 --- a/extensions/sticky/src/Post/DiscussionStickiedPost.php +++ b/extensions/sticky/src/Post/DiscussionStickiedPost.php @@ -3,10 +3,8 @@ /* * This file is part of Flarum. * - * (c) Toby Zerner - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + * For detailed copyright and license information, please view the + * LICENSE file that was distributed with this source code. */ namespace Flarum\Sticky\Post;