From 3390bd5b02f13751d7588b325f8bc6492d4827ac Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 29 Nov 2019 23:02:17 +0000 Subject: [PATCH] Apply fixes from StyleCI --- extensions/mentions/extend.php | 6 ++---- .../2015_05_11_000000_create_mentions_posts_table.php | 6 ++---- .../2015_05_11_000000_create_mentions_users_table.php | 6 ++---- ...7_102000_rename_mentions_posts_to_post_mentions_post.php | 6 ++---- ...7_102100_rename_mentions_users_to_post_mentions_user.php | 6 ++---- ...mentions_post_rename_mentions_id_to_mentions_post_id.php | 6 ++---- ...27_102300_change_post_mentions_post_add_foreign_keys.php | 6 ++---- ...mentions_user_rename_mentions_id_to_mentions_user_id.php | 6 ++---- ...27_102500_change_post_mentions_user_add_foreign_keys.php | 6 ++---- extensions/mentions/src/ConfigureMentions.php | 6 ++---- extensions/mentions/src/Listener/AddFilterByMentions.php | 6 ++---- .../src/Listener/AddPostMentionedByRelationship.php | 6 ++---- extensions/mentions/src/Listener/FilterVisiblePosts.php | 6 ++---- extensions/mentions/src/Listener/FormatPostMentions.php | 6 ++---- extensions/mentions/src/Listener/FormatUserMentions.php | 6 ++---- .../src/Listener/UpdateMentionsMetadataWhenInvisible.php | 6 ++---- .../src/Listener/UpdateMentionsMetadataWhenVisible.php | 6 ++---- .../mentions/src/Notification/PostMentionedBlueprint.php | 6 ++---- .../mentions/src/Notification/UserMentionedBlueprint.php | 6 ++---- 19 files changed, 38 insertions(+), 76 deletions(-) diff --git a/extensions/mentions/extend.php b/extensions/mentions/extend.php index aa6966fc9..880afe77f 100644 --- a/extensions/mentions/extend.php +++ b/extensions/mentions/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\WillSerializeData; diff --git a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php index 1a3d792cf..e1376b508 100644 --- a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php +++ b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_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/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php index 8e72a4c31..396a65ed0 100644 --- a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_users_table.php +++ b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_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/mentions/migrations/2018_06_27_102000_rename_mentions_posts_to_post_mentions_post.php b/extensions/mentions/migrations/2018_06_27_102000_rename_mentions_posts_to_post_mentions_post.php index a618d653b..9440ac452 100644 --- a/extensions/mentions/migrations/2018_06_27_102000_rename_mentions_posts_to_post_mentions_post.php +++ b/extensions/mentions/migrations/2018_06_27_102000_rename_mentions_posts_to_post_mentions_post.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/mentions/migrations/2018_06_27_102100_rename_mentions_users_to_post_mentions_user.php b/extensions/mentions/migrations/2018_06_27_102100_rename_mentions_users_to_post_mentions_user.php index 2f5fb5357..c440fd426 100644 --- a/extensions/mentions/migrations/2018_06_27_102100_rename_mentions_users_to_post_mentions_user.php +++ b/extensions/mentions/migrations/2018_06_27_102100_rename_mentions_users_to_post_mentions_user.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/mentions/migrations/2018_06_27_102200_change_post_mentions_post_rename_mentions_id_to_mentions_post_id.php b/extensions/mentions/migrations/2018_06_27_102200_change_post_mentions_post_rename_mentions_id_to_mentions_post_id.php index 12aa24205..2be7087d4 100644 --- a/extensions/mentions/migrations/2018_06_27_102200_change_post_mentions_post_rename_mentions_id_to_mentions_post_id.php +++ b/extensions/mentions/migrations/2018_06_27_102200_change_post_mentions_post_rename_mentions_id_to_mentions_post_id.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/mentions/migrations/2018_06_27_102300_change_post_mentions_post_add_foreign_keys.php b/extensions/mentions/migrations/2018_06_27_102300_change_post_mentions_post_add_foreign_keys.php index ccf8e09c2..4701ceab8 100644 --- a/extensions/mentions/migrations/2018_06_27_102300_change_post_mentions_post_add_foreign_keys.php +++ b/extensions/mentions/migrations/2018_06_27_102300_change_post_mentions_post_add_foreign_keys.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/mentions/migrations/2018_06_27_102400_change_post_mentions_user_rename_mentions_id_to_mentions_user_id.php b/extensions/mentions/migrations/2018_06_27_102400_change_post_mentions_user_rename_mentions_id_to_mentions_user_id.php index f3cb8540e..8f4854080 100644 --- a/extensions/mentions/migrations/2018_06_27_102400_change_post_mentions_user_rename_mentions_id_to_mentions_user_id.php +++ b/extensions/mentions/migrations/2018_06_27_102400_change_post_mentions_user_rename_mentions_id_to_mentions_user_id.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/mentions/migrations/2018_06_27_102500_change_post_mentions_user_add_foreign_keys.php b/extensions/mentions/migrations/2018_06_27_102500_change_post_mentions_user_add_foreign_keys.php index 829e1b0df..8a4ba9fe2 100644 --- a/extensions/mentions/migrations/2018_06_27_102500_change_post_mentions_user_add_foreign_keys.php +++ b/extensions/mentions/migrations/2018_06_27_102500_change_post_mentions_user_add_foreign_keys.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/mentions/src/ConfigureMentions.php b/extensions/mentions/src/ConfigureMentions.php index 45cb79a43..0b9e0975c 100644 --- a/extensions/mentions/src/ConfigureMentions.php +++ b/extensions/mentions/src/ConfigureMentions.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\Mentions; diff --git a/extensions/mentions/src/Listener/AddFilterByMentions.php b/extensions/mentions/src/Listener/AddFilterByMentions.php index 761c8111c..9bf2ea5a2 100755 --- a/extensions/mentions/src/Listener/AddFilterByMentions.php +++ b/extensions/mentions/src/Listener/AddFilterByMentions.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php b/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php index 616dd3ad9..7c0262da4 100755 --- a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php +++ b/extensions/mentions/src/Listener/AddPostMentionedByRelationship.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/FilterVisiblePosts.php b/extensions/mentions/src/Listener/FilterVisiblePosts.php index cd18d2dd2..c8f63eec2 100755 --- a/extensions/mentions/src/Listener/FilterVisiblePosts.php +++ b/extensions/mentions/src/Listener/FilterVisiblePosts.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/FormatPostMentions.php b/extensions/mentions/src/Listener/FormatPostMentions.php index cb783e44a..0d1290a31 100755 --- a/extensions/mentions/src/Listener/FormatPostMentions.php +++ b/extensions/mentions/src/Listener/FormatPostMentions.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/FormatUserMentions.php b/extensions/mentions/src/Listener/FormatUserMentions.php index 5db076ca3..6f738744d 100755 --- a/extensions/mentions/src/Listener/FormatUserMentions.php +++ b/extensions/mentions/src/Listener/FormatUserMentions.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenInvisible.php b/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenInvisible.php index 130b09ea7..e130b1477 100755 --- a/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenInvisible.php +++ b/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenInvisible.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\Mentions\Listener; diff --git a/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php b/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php index 6fb632cde..3fbc74e7d 100755 --- a/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php +++ b/extensions/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.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\Mentions\Listener; diff --git a/extensions/mentions/src/Notification/PostMentionedBlueprint.php b/extensions/mentions/src/Notification/PostMentionedBlueprint.php index 4329b08e8..cb712f6f6 100644 --- a/extensions/mentions/src/Notification/PostMentionedBlueprint.php +++ b/extensions/mentions/src/Notification/PostMentionedBlueprint.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\Mentions\Notification; diff --git a/extensions/mentions/src/Notification/UserMentionedBlueprint.php b/extensions/mentions/src/Notification/UserMentionedBlueprint.php index d874d9ca5..bf03d2e2f 100644 --- a/extensions/mentions/src/Notification/UserMentionedBlueprint.php +++ b/extensions/mentions/src/Notification/UserMentionedBlueprint.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\Mentions\Notification;