mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-28 16:00:37 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled: * MediaWiki.Files.ClassMatchesFilename.NotMatch * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: Ic8240fc6f171d7ef180e0f152aab78cc027f58fc
This commit is contained in:
parent
370d557518
commit
6ecfd02673
|
@ -2,7 +2,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"mediawiki/mediawiki-codesniffer": "0.11.0"
|
"mediawiki/mediawiki-codesniffer": "0.12.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"fix": "phpcbf",
|
"fix": "phpcbf",
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||||
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||||
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
||||||
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
|
||||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
Loading…
Reference in a new issue