mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
cf1da49904
This causes phpcs to emit invalid JSON when the --report=json flag is set and no issues are found, which breaks editor plugins (atom-linter-phpcs in my case). Add this flag in composer.json instead. Change-Id: Ibb0b4c084e25e06be72389f1d4998804cfd53295
13 lines
203 B
JSON
13 lines
203 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"mediawiki/mediawiki-codesniffer": "0.5.1"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor",
|
|
"phpcs -p"
|
|
]
|
|
}
|
|
}
|