mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 00:06:49 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: If84eab1aef187f519f6315f8d461a8d9fc32457a
This commit is contained in:
parent
58a5cef469
commit
f460dc785f
|
@ -2,7 +2,7 @@
|
|||
"license": "GPL-2.0+",
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"mediawiki/mediawiki-codesniffer": "0.9.0",
|
||||
"mediawiki/mediawiki-codesniffer": "0.10.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
12
phpcs.xml
12
phpcs.xml
|
@ -1,9 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment" />
|
||||
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName" />
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.ExtraParamComment" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
|
||||
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc"/>
|
||||
|
|
Loading…
Reference in a new issue