Page MenuHomePhabricator

Replace deprecated @codingStandardsIgnore in repos running codesniffer
Open, LowPublic

Description

The next major version of the codesniffer (which is 4.0) would remove the @codingStandardsIgnore... annotations, which could be replaced by phpcs:.... or @phpcs:.... before a new version is released.

The annotation are most used to disabled all sniffs, but in the future there should be used to only disable/ignore the sniff which is needed like the LineLength sniff

https://codesearch.wmcloud.org/search/?q=%40codingStandardsIgnore&i=nope&files=&excludeFiles=&repos=

Not sure if codesniffer could warn on this tags, because there are usually suppressing all sniffs

Doxygen needs cleanup on some repos:
https://codesearch.wmcloud.org/search/?q=%5B%5E%40%5DcodingStandardsIgnore&i=nope&files=&excludeFiles=&repos=

Details

ProjectBranchLines +/-Subject
mediawiki/coremaster+356 -404
oojs/uimaster+4 -5
mediawiki/extensions/MachineVisionmaster+5 -9
mediawiki/extensions/ReadingListsmaster+5 -9
mediawiki/extensions/WikibaseQualityConstraintsmaster+2 -2
mediawiki/coremaster+23 -50
mediawiki/extensions/Scribuntomaster+14 -5
mediawiki/extensions/Translatemaster+28 -30
mediawiki/extensions/QuizGamemaster+12 -12
mediawiki/extensions/WikibaseManifestmaster+2 -2
mediawiki/extensions/GWToolsetmaster+3 -4
mediawiki/extensions/MobileFrontendmaster+12 -20
mediawiki/extensions/MediaUploadermaster+0 -12
mediawiki/extensions/AJAXPollmaster+16 -13
mediawiki/extensions/Commentsmaster+6 -6
mediawiki/extensions/Citoidmaster+5 -4
mediawiki/extensions/LDAPProvidermaster+4 -2
mediawiki/extensions/WikibaseLexememaster+1 -3
mediawiki/extensions/VisualEditormaster+0 -2
mediawiki/extensions/JsonConfigmaster+4 -3
mediawiki/extensions/Calendarmaster+0 -2
mediawiki/extensions/ReplaceTextmaster+2 -7
mediawiki/extensions/UploadWizardmaster+0 -14
mediawiki/extensions/ParserFunctionsmaster+1 -2
mediawiki/extensions/CodeReviewmaster+2 -2
mediawiki/extensions/TwoColConflictmaster+6 -6
mediawiki/extensions/DoubleWikimaster+3 -2
mediawiki/extensions/Josamaster+5 -5
mediawiki/extensions/ImageRatingmaster+0 -2
mediawiki/extensions/LabeledSectionTransclusionmaster+1 -4
mediawiki/extensions/PhabTaskGraphmaster+1 -3
mediawiki/extensions/PluggableAuthmaster+2 -2
mediawiki/extensions/UseResourcemaster+4 -4
mediawiki/extensions/SafeDeletemaster+1 -2
mediawiki/extensions/VoteNYmaster+3 -2
mediawiki/extensions/wikihieromaster+1 -2
mediawiki/skins/EUCopyrightCampaignSkinmaster+4 -4
mediawiki/extensions/Wikibasemaster+3 -14
mediawiki/extensions/Kartographermaster+6 -6
mediawiki/extensions/SecurePollmaster+5 -9
mediawiki/extensions/TimedMediaHandlermaster+2 -2
mediawiki/extensions/Collectionmaster+1 -10
mediawiki/extensions/CentralAuthmaster+3 -6
mediawiki/extensions/MassMessagemaster+2 -4
mediawiki/extensions/Echomaster+2 -3
mediawiki/extensions/OAuthmaster+2 -2
mediawiki/extensions/PagedTiffHandlermaster+11 -14
mediawiki/libs/IDLeDOMmain+1 -2
mediawiki/libs/Dodomaster+1 -2
mediawiki/extensions/TemplateStylesmaster+23 -38
mediawiki/extensions/BounceHandlermaster+1 -4
utfnormalmaster+6 -16
css-sanitizermaster+12 -18
cdbmaster+2 -2
CLDRPluralRuleParsermaster+12 -13
mediawiki/oauthclient-phpmaster+4 -8
mediawiki/libs/RemexHtmlmaster+3 -4
mediawiki/libs/XMPReadermaster+1 -3
HtmlFormattermaster+2 -2
mediawiki/libs/ObjectFactorymaster+4 -4
IPSetmaster+3 -3
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 675267 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/SecurePoll@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675267

Change 675269 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/Collection@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675269

Change 675251 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675251

Change 675261 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675261

Change 675266 merged by jenkins-bot:
[mediawiki/extensions/MassMessage@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675266

Change 675269 merged by jenkins-bot:
[mediawiki/extensions/Collection@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675269

Change 675260 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/675260

Change 675259 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/675259

Change 675267 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/675267

Change 675264 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/675264

Change 676749 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/skins/EUCopyrightCampaignSkin@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676749

Change 676750 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/wikihiero@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676750

Change 676751 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/WikibaseManifest@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676751

Change 676752 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/WikibaseQualityConstraints@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676752

Change 676754 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/WikibaseLexeme@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676754

Change 676749 merged by jenkins-bot:

[mediawiki/skins/EUCopyrightCampaignSkin@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676749

Change 676755 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/VoteNY@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676755

Change 676756 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/VisualEditor@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676756

Change 676757 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/UseResource@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676757

Change 676750 merged by jenkins-bot:

[mediawiki/extensions/wikihiero@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676750

Change 676758 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/TwoColConflict@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676758

Change 676759 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/SafeDelete@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676759

Change 676760 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ReadingLists@master] Use variadic argument in ApiTrait::requireAtLeastOneBatchParameter

https://gerrit.wikimedia.org/r/676760

Change 676755 merged by jenkins-bot:

[mediawiki/extensions/VoteNY@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676755

Change 676761 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/PluggableAuth@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676761

Change 676759 merged by jenkins-bot:

[mediawiki/extensions/SafeDelete@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676759

Change 676757 merged by jenkins-bot:

[mediawiki/extensions/UseResource@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676757

Change 676762 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/PhabTaskGraph@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676762

Change 676763 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ParserFunctions@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676763

Change 676764 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/MachineVision@master] Use variadic argument in ApiTrait::requireAtLeastOneBatchParameter

https://gerrit.wikimedia.org/r/676764

Change 676761 merged by jenkins-bot:

[mediawiki/extensions/PluggableAuth@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676761

Change 676765 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/LDAPProvider@master] build: Swap deprecated @codingStandardsIgnore to exclude in .phpcs.xml

https://gerrit.wikimedia.org/r/676765

Change 676766 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/LabeledSectionTransclusion@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676766

Change 676767 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/JsonConfig@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676767

Change 676768 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Josa@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676768

Change 676769 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ImageRating@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676769

Change 676770 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/DoubleWiki@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676770

Change 676771 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/CodeReview@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676771

Change 676772 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Calendar@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676772

Change 676773 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/UploadWizard@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676773

Change 676774 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Scribunto@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676774

Change 676775 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/ReplaceText@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676775

Change 676762 merged by jenkins-bot:

[mediawiki/extensions/PhabTaskGraph@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676762

Change 676758 merged by jenkins-bot:

[mediawiki/extensions/TwoColConflict@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676758

Change 676766 merged by jenkins-bot:

[mediawiki/extensions/LabeledSectionTransclusion@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676766

Change 676769 merged by jenkins-bot:

[mediawiki/extensions/ImageRating@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676769

Change 676768 merged by jenkins-bot:

[mediawiki/extensions/Josa@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676768

Change 676770 merged by jenkins-bot:

[mediawiki/extensions/DoubleWiki@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676770

Change 676771 merged by jenkins-bot:

[mediawiki/extensions/CodeReview@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676771

Change 676763 merged by jenkins-bot:

[mediawiki/extensions/ParserFunctions@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676763

Change 676773 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676773

Change 676767 merged by jenkins-bot:

[mediawiki/extensions/JsonConfig@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676767

Change 676775 merged by jenkins-bot:

[mediawiki/extensions/ReplaceText@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676775

Change 676772 merged by jenkins-bot:

[mediawiki/extensions/Calendar@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676772

Change 676756 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676756

Change 676754 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676754

Change 676752 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676752

Change 676818 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/GWToolset@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676818

Change 676819 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Translate@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676819

Change 676821 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/QuizGame@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676821

Change 676823 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Comments@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676823

Change 676824 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/AJAXPoll@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676824

Change 676825 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/MobileFrontend@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676825

Change 676827 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Citoid@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676827

Change 676830 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/MediaUploader@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676830

Change 676765 merged by jenkins-bot:

[mediawiki/extensions/LDAPProvider@master] build: Swap deprecated @codingStandardsIgnore to exclude in .phpcs.xml

https://gerrit.wikimedia.org/r/676765

Change 676827 merged by jenkins-bot:

[mediawiki/extensions/Citoid@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676827

Change 676825 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676825

Change 676830 merged by jenkins-bot:

[mediawiki/extensions/MediaUploader@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676830

Change 676823 merged by jenkins-bot:

[mediawiki/extensions/Comments@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676823

Change 676824 merged by jenkins-bot:

[mediawiki/extensions/AJAXPoll@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676824

Change 676818 merged by jenkins-bot:

[mediawiki/extensions/GWToolset@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676818

Change 676751 merged by jenkins-bot:

[mediawiki/extensions/WikibaseManifest@master] build: Swap deprecated @codingStandardsIgnore to phpcs:disable

https://gerrit.wikimedia.org/r/676751

Change 676836 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676836

Change 676819 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676819

Change 676821 merged by jenkins-bot:

[mediawiki/extensions/QuizGame@master] build: Remove unneeded @codingStandardsIgnore

https://gerrit.wikimedia.org/r/676821

Change 676836 merged by jenkins-bot:

[mediawiki/core@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676836

Change 676774 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@master] build: Swap deprecated @codingStandardsIgnore to phpcs:ignore

https://gerrit.wikimedia.org/r/676774

Change 676760 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] Use variadic argument in ApiTrait::requireAtLeastOneBatchParameter

https://gerrit.wikimedia.org/r/676760

Change 676764 merged by jenkins-bot:

[mediawiki/extensions/MachineVision@master] Use variadic argument in ApiTrait::requireAtLeastOneBatchParameter

https://gerrit.wikimedia.org/r/676764

Change 713803 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update OOUI to v0.42.0

https://gerrit.wikimedia.org/r/713803

Change 713803 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.42.0

https://gerrit.wikimedia.org/r/713803