build: Move config to phpcs.xml and require php 5.3.3
* Reformat without all the spurious spaces. * Update php requirement to 5.3.3 to match MediaWiki core and other Wikimedia libraries. * Update php-parallel-lint to v0.9. * Move phpcs config to a separate file. Change-Id: I30895c87dd082dfae0a1b95237d5619ae89fa6fe
This commit is contained in:
parent
95907042a5
commit
eb6d66a22d
|
@ -24,7 +24,7 @@
|
|||
"irc": "irc://irc.freenode.org/mediawiki"
|
||||
},
|
||||
"require": {
|
||||
"php" : ">=5.3.2",
|
||||
"php": ">=5.3.3",
|
||||
"composer/installers": ">1.0.12"
|
||||
},
|
||||
"extra": {
|
||||
|
@ -33,13 +33,13 @@
|
|||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.8.*",
|
||||
"jakub-onderka/php-parallel-lint": "0.9.*",
|
||||
"mediawiki/mediawiki-codesniffer": "0.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor",
|
||||
"phpcs --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --extensions=php,php5,inc --ignore=vendor -p ."
|
||||
"phpcs -p"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue