From: Thiemo Kreuz Date: Fri, 15 Mar 2019 13:53:12 +0000 (+0100) Subject: Remove empty and unnecessary /* @{{ … */ comments X-Git-Tag: 1.34.0-rc.0~2507^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=b0615e12496a01bde839b5bde29f82909c0d131b;p=lhc%2Fweb%2Fwiklou.git Remove empty and unnecessary /* @{{ … */ comments 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 --- 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 @@