Make it easer to debug php code sniffer, Update mediawiki/mediawiki-codesniffer to 0.4.0

Change-Id: I28a0aa347c43811e54afd901d8059e93b00208a2
This commit is contained in:
Paladox 2015-09-29 17:07:57 +01:00 committed by Hashar
parent 62a36bc548
commit c9e664ca99
2 changed files with 4 additions and 4 deletions

View file

@ -34,13 +34,12 @@
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.*",
"mediawiki/mediawiki-codesniffer": "0.3.0"
"mediawiki/mediawiki-codesniffer": "0.4.0"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor",
"phpcs -p"
"phpcs -p -s"
]
}
}

View file

@ -2,6 +2,7 @@
<ruleset>
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="utf8"/>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>