Libraryupgrader has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/380078 )
Change subject: build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 ...................................................................... build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 The following sniffs are failing and were disabled: * MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle Change-Id: I7163cd8f97a7d2fe5b4410245a72eb416302f4f6 --- M composer.json M includes/AbuseFilter.hooks.php M phpcs.xml 3 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter refs/changes/78/380078/1 diff --git a/composer.json b/composer.json index 2449497..66c4393 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ }, "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "0.12.0", + "mediawiki/mediawiki-codesniffer": "13.0.0", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { diff --git a/includes/AbuseFilter.hooks.php b/includes/AbuseFilter.hooks.php index 93fe208..6e14e26 100644 --- a/includes/AbuseFilter.hooks.php +++ b/includes/AbuseFilter.hooks.php @@ -1,6 +1,5 @@ <?php -use MediaWiki\Auth\AuthManager; use MediaWiki\MediaWikiServices; class AbuseFilterHooks { diff --git a/phpcs.xml b/phpcs.xml index 47cfb3c..9377a25 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -12,6 +12,7 @@ <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" /> <exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" /> <exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" /> + <exclude name="MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle" /> <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/> </rule> <rule ref="Generic.Files.LineLength"> -- To view, visit https://gerrit.wikimedia.org/r/380078 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7163cd8f97a7d2fe5b4410245a72eb416302f4f6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AbuseFilter Gerrit-Branch: master Gerrit-Owner: Libraryupgrader <tools.libraryupgra...@tools.wmflabs.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits