mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 03:43:55 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingParamComment * MediaWiki.Commenting.FunctionComment.MissingParamName * MediaWiki.Commenting.FunctionComment.MissingParamTag * MediaWiki.FunctionComment.Missing.Protected * MediaWiki.FunctionComment.Missing.Public * MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment Change-Id: Ibc6efa42e23c88739f43567197c4fdc66bdf068c
This commit is contained in:
parent
a8de3b6b8d
commit
bf2ae90973
|
@ -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.7.2"
|
"mediawiki/mediawiki-codesniffer": "0.9.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"fix": "phpcbf",
|
"fix": "phpcbf",
|
||||||
|
|
15
phpcs.xml
15
phpcs.xml
|
@ -1,9 +1,16 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0"?>
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
|
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||||
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
||||||
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
||||||
|
<exclude name="MediaWiki.FunctionComment.Missing.Protected" />
|
||||||
|
<exclude name="MediaWiki.FunctionComment.Missing.Public" />
|
||||||
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||||
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc"/>
|
<arg name="extensions" value="php,php5,inc" />
|
||||||
<arg name="encoding" value="UTF-8"/>
|
<arg name="encoding" value="UTF-8" />
|
||||||
<exclude-pattern>vendor</exclude-pattern>
|
<exclude-pattern>vendor</exclude-pattern>
|
||||||
<exclude-pattern>node_modules</exclude-pattern>
|
<exclude-pattern>node_modules</exclude-pattern>
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
Loading…
Reference in a new issue