Remove comments literally repeating the next line of code
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 27 Feb 2019 15:29:35 +0000 (16:29 +0100)
committerThiemo Kreuz (WMDE) <thiemo.kreuz@wikimedia.de>
Wed, 27 Feb 2019 17:28:40 +0000 (17:28 +0000)
commit37b3383e8b5260a9674cef834d272874c0ea2589
tree310f89cc1af46312dbb00de91f8ea14532653df4
parent5d4d405c0765952928727ad1f2731dfbceedd4fe
Remove comments literally repeating the next line of code

I would argue that these comments do not add any information that
would not be there already. Having them adds mental overhead, because
one needs to read both the comment and the next line of code first to
understand they say the exact same. I don't find this helpful, but
more distracting.

Change-Id: I39c98f25225947ebffdcc2fd8f0243e7a6c070d7
18 files changed:
includes/Html.php
includes/api/ApiFeedWatchlist.php
includes/api/ApiMain.php
includes/api/ApiQuery.php
includes/changetags/ChangeTagsLogItem.php
includes/clientpool/SquidPurgeClient.php
includes/config/EtcdConfig.php
includes/media/Exif.php
includes/parser/CoreParserFunctions.php
includes/preferences/DefaultPreferencesFactory.php
includes/resourceloader/ResourceLoaderModule.php
includes/revisiondelete/RevDelLogItem.php
includes/specials/SpecialNewpages.php
includes/specials/SpecialTags.php
includes/user/BotPassword.php
maintenance/syncFileBackend.php
resources/Resources.php
tests/phpunit/includes/linker/LinkRendererTest.php