Skip to content

Commit

Permalink
Enable parallel processing for PHPCS sniffs (#61700)
Browse files Browse the repository at this point in the history
Enable parallel processing for PHPCS sniffs. Documentation: PHPCSStandards/PHP_CodeSniffer#10

Co-authored-by: anton-vlasenko <[email protected]>
Co-authored-by: desrosj <[email protected]>
Co-authored-by: ironprogrammer <[email protected]>
Co-authored-by: jrfnl <[email protected]>
  • Loading branch information
5 people authored and SantosGuillamot committed May 17, 2024
1 parent 9659455 commit 8331820
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
<!-- Cache the scan results and re-use those for unchanged files on the next scan. -->
<arg name="cache" value=".cache/phpcs.json"/>

<!-- Check up to 20 files simultaneously. -->
<arg name="parallel" value="20"/>

<file>./bin</file>
<file>./gutenberg.php</file>
<file>./lib</file>
Expand Down

0 comments on commit 8331820

Please sign in to comment.