mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam * MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * PSR2.ControlStructures.SwitchDeclaration.TerminatingComment * PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase Change-Id: Ie2ce904037ef34282f0180ef6f4d8426f5a3fb6a
This commit is contained in:
parent
77f6ecce13
commit
1d74aab5cf
|
@ -1,6 +1,12 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn" />
|
||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
|
||||
<exclude name="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment" />
|
||||
<exclude name="PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase" />
|
||||
</rule>
|
||||
<rule ref="Generic.Files.LineLength">
|
||||
<exclude-pattern>AbuseFilter\.alias\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"wikimedia/equivset": "^1.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "32.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.3",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
|
|
|
@ -47,7 +47,7 @@ class NormalizeThrottleParameters extends LoggedUpdateMaintenance {
|
|||
return __CLASS__;
|
||||
}
|
||||
|
||||
/** @var \Wikimedia\Rdbms\Database $dbw The master database */
|
||||
/** @var \Wikimedia\Rdbms\Database The master database */
|
||||
private $dbw;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue