From b0615e12496a01bde839b5bde29f82909c0d131b Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Fri, 15 Mar 2019 14:53:12 +0100 Subject: [PATCH] =?utf8?q?Remove=20empty=20and=20unnecessary=20/*=20@{{=20?= =?utf8?q?=E2=80=A6=20*/=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was the only comment I could find that uses two curly brackets for some reason. There are a few more with one curly bracket. Change-Id: Iaed631916064e6be4895edd4c7a3d7de491e16c2 --- includes/page/WikiPage.php | 20 ++++++++++++++----- maintenance/cleanupPreferences.php | 3 --- .../documentation/ReleaseNotesTest.php | 2 -- tests/phpunit/includes/LinkerTest.php | 1 - .../password/Pbkdf2PasswordFallbackTest.php | 1 - 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index cd0fa8be22..4b0e503ec4 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -50,13 +50,23 @@ class WikiPage implements Page, IDBAccessObject { */ public $mTitle = null; - /**@{{ + /** + * @var bool + * @protected + */ + public $mDataLoaded = false; + + /** + * @var bool + * @protected + */ + public $mIsRedirect = false; + + /** + * @var int|false False means "not loaded" * @protected */ - public $mDataLoaded = false; // !< Boolean - public $mIsRedirect = false; // !< Boolean - public $mLatest = false; // !< Integer (false means "not loaded") - /**@}}*/ + public $mLatest = false; /** @var PreparedEdit Map of cache fields (text, parser output, ect) for a proposed/new edit */ public $mPreparedEdit = false; diff --git a/maintenance/cleanupPreferences.php b/maintenance/cleanupPreferences.php index a6399f66e6..66fc6d374e 100644 --- a/maintenance/cleanupPreferences.php +++ b/maintenance/cleanupPreferences.php @@ -99,9 +99,6 @@ class CleanupPreferences extends Maintenance { } } - /** - * - */ private function deleteByWhere( $dbw, $startMessage, $where ) { $this->output( $startMessage . "...\n" ); $total = 0; diff --git a/tests/phpunit/documentation/ReleaseNotesTest.php b/tests/phpunit/documentation/ReleaseNotesTest.php index 2789571e2b..019a13e4ca 100644 --- a/tests/phpunit/documentation/ReleaseNotesTest.php +++ b/tests/phpunit/documentation/ReleaseNotesTest.php @@ -41,8 +41,6 @@ class ReleaseNotesTest extends MediaWikiTestCase { } } - /** - */ private function assertFileLength( $type, $fileName ) { $file = file( $fileName, FILE_IGNORE_NEW_LINES ); diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 34e5593cfc..bc9bafa02f 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -1,6 +1,5 @@