Remove forced -p (progress) flag from phpcs.xml

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
This commit is contained in:
Roan Kattouw 2016-04-26 14:19:05 -07:00
parent 29b0fb5688
commit cf1da49904
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"scripts": {
"test": [
"parallel-lint . --exclude vendor",
"phpcs"
"phpcs -p"
]
}
}

View file

@ -7,6 +7,5 @@
<arg name="encoding" value="utf8"/>
<arg name="extensions" value="php,php5,inc"/>
<arg name="colors"/>
<arg value="p"/>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>