Add php code sniffing

Shorten a commented out code to match the style.

Change-Id: I1cbe3513e9c7eaf5a852141b7775a4c78104eae5
This commit is contained in:
paladox
2015-08-02 17:22:31 +00:00
committed by Antoine Musso
parent daf6a8d440
commit 7e0fe37a06
3 changed files with 13 additions and 3 deletions

View File

@@ -22,11 +22,13 @@
"mediawiki/cldr": "Language names in all languages"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.*"
"jakub-onderka/php-parallel-lint": "0.9.*",
"mediawiki/mediawiki-codesniffer": "0.3.0"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor"
"parallel-lint . --exclude vendor",
"phpcs -p -s"
]
}
}