forked from mirror/_s
🔧 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:
parent
c453749f7a
commit
dd7a1604e6
|
@ -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"/>
|
||||||
|
|
||||||
|
|
Reference in New Issue