🔧 PHPCS: clean up the file paths PHPCS shows

This uses a new feature which is available since PHPCS 3.x.
This commit is contained in:
jrfnl 2018-02-27 10:29:07 +01:00
parent c453749f7a
commit dd7a1604e6
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@
--> -->
<arg value="ps"/> <arg value="ps"/>
<!-- Strip the filepaths down to the relevant bit. -->
<arg name="basepath" value="./"/>
<!-- Only check the PHP, CSS and SCSS files. JS files are checked separately with JSCS and JSHint. --> <!-- Only check the PHP, CSS and SCSS files. JS files are checked separately with JSCS and JSHint. -->
<arg name="extensions" value="php,css,scss/css"/> <arg name="extensions" value="php,css,scss/css"/>