From 1424fd22111c70c6cb4b625b9c0af26ab78e6242 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 29 Nov 2019 23:02:10 +0000 Subject: [PATCH] Apply fixes from StyleCI --- extensions/lock/extend.php | 6 ++---- .../2015_02_24_000000_add_locked_to_discussions.php | 6 ++---- .../2017_07_22_000000_add_default_permissions.php | 6 ++---- .../2018_09_15_043621_add_discussions_indices.php | 6 ++---- extensions/lock/src/Access/DiscussionPolicy.php | 6 ++---- extensions/lock/src/Event/DiscussionWasLocked.php | 6 ++---- extensions/lock/src/Event/DiscussionWasUnlocked.php | 6 ++---- extensions/lock/src/Gambit/LockedGambit.php | 6 ++---- .../lock/src/Listener/AddDiscussionLockedAttributes.php | 6 ++---- .../lock/src/Listener/CreatePostWhenDiscussionIsLocked.php | 6 ++---- .../src/Listener/CreatePostWhenDiscussionIsUnlocked.php | 6 ++---- extensions/lock/src/Listener/SaveLockedToDatabase.php | 6 ++---- .../lock/src/Notification/DiscussionLockedBlueprint.php | 6 ++---- extensions/lock/src/Post/DiscussionLockedPost.php | 6 ++---- 14 files changed, 28 insertions(+), 56 deletions(-) diff --git a/extensions/lock/extend.php b/extensions/lock/extend.php index 75c203942..4a66a3ffe 100644 --- a/extensions/lock/extend.php +++ b/extensions/lock/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\Api\Event\Serializing; diff --git a/extensions/lock/migrations/2015_02_24_000000_add_locked_to_discussions.php b/extensions/lock/migrations/2015_02_24_000000_add_locked_to_discussions.php index a9fbc5134..452783463 100644 --- a/extensions/lock/migrations/2015_02_24_000000_add_locked_to_discussions.php +++ b/extensions/lock/migrations/2015_02_24_000000_add_locked_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/lock/migrations/2017_07_22_000000_add_default_permissions.php b/extensions/lock/migrations/2017_07_22_000000_add_default_permissions.php index 38b5f52ee..3f605af5e 100644 --- a/extensions/lock/migrations/2017_07_22_000000_add_default_permissions.php +++ b/extensions/lock/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/lock/migrations/2018_09_15_043621_add_discussions_indices.php b/extensions/lock/migrations/2018_09_15_043621_add_discussions_indices.php index 01d92f99e..bf38a5cfb 100644 --- a/extensions/lock/migrations/2018_09_15_043621_add_discussions_indices.php +++ b/extensions/lock/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/lock/src/Access/DiscussionPolicy.php b/extensions/lock/src/Access/DiscussionPolicy.php index 6360aee41..a8cb4ca75 100755 --- a/extensions/lock/src/Access/DiscussionPolicy.php +++ b/extensions/lock/src/Access/DiscussionPolicy.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\Lock\Access; diff --git a/extensions/lock/src/Event/DiscussionWasLocked.php b/extensions/lock/src/Event/DiscussionWasLocked.php index a9c0b5687..25044572f 100644 --- a/extensions/lock/src/Event/DiscussionWasLocked.php +++ b/extensions/lock/src/Event/DiscussionWasLocked.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\Lock\Event; diff --git a/extensions/lock/src/Event/DiscussionWasUnlocked.php b/extensions/lock/src/Event/DiscussionWasUnlocked.php index d439b6bfe..0b48c6e86 100644 --- a/extensions/lock/src/Event/DiscussionWasUnlocked.php +++ b/extensions/lock/src/Event/DiscussionWasUnlocked.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\Lock\Event; diff --git a/extensions/lock/src/Gambit/LockedGambit.php b/extensions/lock/src/Gambit/LockedGambit.php index 4c0cafc87..6012779dc 100644 --- a/extensions/lock/src/Gambit/LockedGambit.php +++ b/extensions/lock/src/Gambit/LockedGambit.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\Lock\Gambit; diff --git a/extensions/lock/src/Listener/AddDiscussionLockedAttributes.php b/extensions/lock/src/Listener/AddDiscussionLockedAttributes.php index 16f3d62e4..551cabe3f 100755 --- a/extensions/lock/src/Listener/AddDiscussionLockedAttributes.php +++ b/extensions/lock/src/Listener/AddDiscussionLockedAttributes.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\Lock\Listener; diff --git a/extensions/lock/src/Listener/CreatePostWhenDiscussionIsLocked.php b/extensions/lock/src/Listener/CreatePostWhenDiscussionIsLocked.php index 7506c22bd..afc771460 100755 --- a/extensions/lock/src/Listener/CreatePostWhenDiscussionIsLocked.php +++ b/extensions/lock/src/Listener/CreatePostWhenDiscussionIsLocked.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\Lock\Listener; diff --git a/extensions/lock/src/Listener/CreatePostWhenDiscussionIsUnlocked.php b/extensions/lock/src/Listener/CreatePostWhenDiscussionIsUnlocked.php index c82b101ef..e4dd8b9fa 100755 --- a/extensions/lock/src/Listener/CreatePostWhenDiscussionIsUnlocked.php +++ b/extensions/lock/src/Listener/CreatePostWhenDiscussionIsUnlocked.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\Lock\Listener; diff --git a/extensions/lock/src/Listener/SaveLockedToDatabase.php b/extensions/lock/src/Listener/SaveLockedToDatabase.php index 4784bbc3d..664c81bc8 100755 --- a/extensions/lock/src/Listener/SaveLockedToDatabase.php +++ b/extensions/lock/src/Listener/SaveLockedToDatabase.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\Lock\Listener; diff --git a/extensions/lock/src/Notification/DiscussionLockedBlueprint.php b/extensions/lock/src/Notification/DiscussionLockedBlueprint.php index 98e508ba9..c3d9bdff1 100644 --- a/extensions/lock/src/Notification/DiscussionLockedBlueprint.php +++ b/extensions/lock/src/Notification/DiscussionLockedBlueprint.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\Lock\Notification; diff --git a/extensions/lock/src/Post/DiscussionLockedPost.php b/extensions/lock/src/Post/DiscussionLockedPost.php index 497bb1828..a13c7f7e2 100755 --- a/extensions/lock/src/Post/DiscussionLockedPost.php +++ b/extensions/lock/src/Post/DiscussionLockedPost.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\Lock\Post;