From 5c7d2bb9f2af1c65990c76efe5f6daa4728d96df Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 29 Nov 2019 23:02:35 +0000 Subject: [PATCH] Apply fixes from StyleCI --- extensions/suspend/extend.php | 6 ++---- ...2015_05_11_000000_add_suspended_until_to_users_table.php | 6 ++---- .../2015_09_14_000000_rename_suspended_until_column.php | 6 ++---- .../2017_07_22_000000_add_default_permissions.php | 6 ++---- ...change_users_rename_suspend_until_to_suspended_until.php | 6 ++---- extensions/suspend/src/Access/UserPolicy.php | 6 ++---- extensions/suspend/src/Event/Suspended.php | 6 ++---- extensions/suspend/src/Event/Unsuspended.php | 6 ++---- .../suspend/src/Listener/AddUserSuspendAttributes.php | 6 ++---- .../suspend/src/Listener/RevokeAccessFromSuspendedUsers.php | 6 ++---- .../suspend/src/Listener/SaveSuspensionToDatabase.php | 6 ++---- .../src/Listener/SendNotificationWhenUserIsSuspended.php | 6 ++---- .../src/Listener/SendNotificationWhenUserIsUnsuspended.php | 6 ++---- .../suspend/src/Notification/UserSuspendedBlueprint.php | 6 ++---- .../suspend/src/Notification/UserUnsuspendedBlueprint.php | 6 ++---- extensions/suspend/src/SuspendValidator.php | 6 ++---- 16 files changed, 32 insertions(+), 64 deletions(-) diff --git a/extensions/suspend/extend.php b/extensions/suspend/extend.php index e66ff1566..4bec643de 100644 --- a/extensions/suspend/extend.php +++ b/extensions/suspend/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\Serializer\BasicUserSerializer; diff --git a/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php b/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php index d4c15ee71..b9d5e0a3b 100644 --- a/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.php +++ b/extensions/suspend/migrations/2015_05_11_000000_add_suspended_until_to_users_table.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/suspend/migrations/2015_09_14_000000_rename_suspended_until_column.php b/extensions/suspend/migrations/2015_09_14_000000_rename_suspended_until_column.php index acdd8ce3d..1c8426f53 100644 --- a/extensions/suspend/migrations/2015_09_14_000000_rename_suspended_until_column.php +++ b/extensions/suspend/migrations/2015_09_14_000000_rename_suspended_until_column.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/suspend/migrations/2017_07_22_000000_add_default_permissions.php b/extensions/suspend/migrations/2017_07_22_000000_add_default_permissions.php index 7f39b1fce..07944464e 100644 --- a/extensions/suspend/migrations/2017_07_22_000000_add_default_permissions.php +++ b/extensions/suspend/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/suspend/migrations/2018_06_27_111400_change_users_rename_suspend_until_to_suspended_until.php b/extensions/suspend/migrations/2018_06_27_111400_change_users_rename_suspend_until_to_suspended_until.php index d67b23002..48a16871e 100644 --- a/extensions/suspend/migrations/2018_06_27_111400_change_users_rename_suspend_until_to_suspended_until.php +++ b/extensions/suspend/migrations/2018_06_27_111400_change_users_rename_suspend_until_to_suspended_until.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/suspend/src/Access/UserPolicy.php b/extensions/suspend/src/Access/UserPolicy.php index 6493776ed..8fa583740 100644 --- a/extensions/suspend/src/Access/UserPolicy.php +++ b/extensions/suspend/src/Access/UserPolicy.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\Suspend\Access; diff --git a/extensions/suspend/src/Event/Suspended.php b/extensions/suspend/src/Event/Suspended.php index f855410fb..5fee7ee62 100644 --- a/extensions/suspend/src/Event/Suspended.php +++ b/extensions/suspend/src/Event/Suspended.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\Suspend\Event; diff --git a/extensions/suspend/src/Event/Unsuspended.php b/extensions/suspend/src/Event/Unsuspended.php index 4051f15be..792fd5f5d 100644 --- a/extensions/suspend/src/Event/Unsuspended.php +++ b/extensions/suspend/src/Event/Unsuspended.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\Suspend\Event; diff --git a/extensions/suspend/src/Listener/AddUserSuspendAttributes.php b/extensions/suspend/src/Listener/AddUserSuspendAttributes.php index aa307c2d1..ae93c7f17 100755 --- a/extensions/suspend/src/Listener/AddUserSuspendAttributes.php +++ b/extensions/suspend/src/Listener/AddUserSuspendAttributes.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\Suspend\Listener; diff --git a/extensions/suspend/src/Listener/RevokeAccessFromSuspendedUsers.php b/extensions/suspend/src/Listener/RevokeAccessFromSuspendedUsers.php index 9e6f395a8..a8a2b304d 100755 --- a/extensions/suspend/src/Listener/RevokeAccessFromSuspendedUsers.php +++ b/extensions/suspend/src/Listener/RevokeAccessFromSuspendedUsers.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\Suspend\Listener; diff --git a/extensions/suspend/src/Listener/SaveSuspensionToDatabase.php b/extensions/suspend/src/Listener/SaveSuspensionToDatabase.php index e1b3c9ccd..11c8da89c 100755 --- a/extensions/suspend/src/Listener/SaveSuspensionToDatabase.php +++ b/extensions/suspend/src/Listener/SaveSuspensionToDatabase.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\Suspend\Listener; diff --git a/extensions/suspend/src/Listener/SendNotificationWhenUserIsSuspended.php b/extensions/suspend/src/Listener/SendNotificationWhenUserIsSuspended.php index e91492848..5b95f5b8b 100644 --- a/extensions/suspend/src/Listener/SendNotificationWhenUserIsSuspended.php +++ b/extensions/suspend/src/Listener/SendNotificationWhenUserIsSuspended.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\Suspend\Listener; diff --git a/extensions/suspend/src/Listener/SendNotificationWhenUserIsUnsuspended.php b/extensions/suspend/src/Listener/SendNotificationWhenUserIsUnsuspended.php index 3fc3169e4..26af57b66 100644 --- a/extensions/suspend/src/Listener/SendNotificationWhenUserIsUnsuspended.php +++ b/extensions/suspend/src/Listener/SendNotificationWhenUserIsUnsuspended.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\Suspend\Listener; diff --git a/extensions/suspend/src/Notification/UserSuspendedBlueprint.php b/extensions/suspend/src/Notification/UserSuspendedBlueprint.php index ab24e8427..d525b8666 100644 --- a/extensions/suspend/src/Notification/UserSuspendedBlueprint.php +++ b/extensions/suspend/src/Notification/UserSuspendedBlueprint.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\Suspend\Notification; diff --git a/extensions/suspend/src/Notification/UserUnsuspendedBlueprint.php b/extensions/suspend/src/Notification/UserUnsuspendedBlueprint.php index 33a6cf23c..46d7f15f9 100644 --- a/extensions/suspend/src/Notification/UserUnsuspendedBlueprint.php +++ b/extensions/suspend/src/Notification/UserUnsuspendedBlueprint.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\Suspend\Notification; diff --git a/extensions/suspend/src/SuspendValidator.php b/extensions/suspend/src/SuspendValidator.php index 36e8dc5a4..7b2805965 100644 --- a/extensions/suspend/src/SuspendValidator.php +++ b/extensions/suspend/src/SuspendValidator.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\Suspend;