Skip to content

Commit 42120cc

Browse files
Build/Test Tools: Exclude the .cache directory from PHPCS scans.
This avoids a fatal out-of-memory error when running `composer run lint` checks. Props Soean. Fixes #65649. git-svn-id: https://develop.svn.wordpress.org/trunk@62766 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6172b66 commit 42120cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

phpcs.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<exclude-pattern>/gutenberg/*</exclude-pattern>
4747

4848
<!-- Directories and third party library exclusions. -->
49+
<exclude-pattern>/.cache/*</exclude-pattern>
4950
<exclude-pattern>/node_modules/*</exclude-pattern>
5051
<exclude-pattern>/vendor/*</exclude-pattern>
5152

0 commit comments

Comments
 (0)