Skip to content

Commit 4fe1f2f

Browse files
committed
Exclude build/ from the PHP compatibility scan
A stale build/ left by composer zip is gitignored output, but phpcompat still scanned it, so composer test could fail on a copy of the plugin rather than on the source. phpcs already excluded it; this makes the two agree.
1 parent 8495629 commit 4fe1f2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"phpcompat": [
3535
"@phpcompat:setup",
36-
"phpcompat-tools/vendor/bin/phpcs -p --standard=PHPCompatibility --runtime-set testVersion 7.4-8.6 --extensions=php --ignore=*/vendor/*,*/node_modules/*,*/phpcompat-tools/*,*/_site/* ."
36+
"phpcompat-tools/vendor/bin/phpcs -p --standard=PHPCompatibility --runtime-set testVersion 7.4-8.6 --extensions=php --ignore=*/build/*,*/vendor/*,*/node_modules/*,*/phpcompat-tools/*,*/_site/* ."
3737
],
3838
"phpcompat:clean": "rm -rf phpcompat-tools",
3939
"test": [

0 commit comments

Comments
 (0)