Merge "build: Update mediawiki-codesniffer from 0.3.0 to 0.4.0"

This commit is contained in:
jenkins-bot 2015-09-28 23:53:36 +00:00 committed by Gerrit Code Review
commit 12cae795dd
2 changed files with 9 additions and 2 deletions

View file

@ -2,12 +2,12 @@
"license": "GPL-2.0+",
"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 --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --extensions=php,php5,inc --ignore=vendor -p ."
"phpcs -p -s"
]
}
}

7
phpcs.xml Normal file
View file

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
<file>.</file>
<arg name="extensions" value="php"/>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>