Skip to content

Commit 475870e

Browse files
authored
Merge pull request #694 from Automattic/JRF/phpcs-enable-caching
PHPCS: enable caching
2 parents 843af79 + c64d6a7 commit 475870e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ composer.lock
44
phpcs.xml
55
.phpcs.xml
66
phpunit.xml
7+
phpcs.cache

.phpcs.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<arg name="extensions" value="php"/>
1414
<arg name="parallel" value="50"/>
1515

16+
<!-- Cache the results between runs. -->
17+
<arg name="cache" value="./phpcs.cache"/>
18+
1619
<rule ref="WordPress-Extra">
1720
<exclude name="WordPress.Files.FileName"/>
1821
<exclude name="WordPress.NamingConventions.ValidVariableName"/>

0 commit comments

Comments
 (0)