mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
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
This commit is contained in:
parent
0ae0cbb7f6
commit
781f6c2554
|
@ -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": {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Auth\AuthManager;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
||||
class AbuseFilterHooks {
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue