forked from mirror/_s
🔧 PHPCS: speed up by checking files in parallel
This uses a new feature which is available since PHPCS 3.x. The effect will depend on the system on which PHPCS is being run, but if parallel processing can be run, the build should be faster using this option.
This commit is contained in:
parent
dd7a1604e6
commit
878fbde6c4
|
@ -25,6 +25,9 @@
|
||||||
<!-- Strip the filepaths down to the relevant bit. -->
|
<!-- Strip the filepaths down to the relevant bit. -->
|
||||||
<arg name="basepath" value="./"/>
|
<arg name="basepath" value="./"/>
|
||||||
|
|
||||||
|
<!-- Check up to 8 files simultanously. -->
|
||||||
|
<arg name="parallel" value="8"/>
|
||||||
|
|
||||||
<!-- 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