Skip to content

Commit

Permalink
Fix Composer script 'phplint'
Browse files Browse the repository at this point in the history
Fixed:
- Syntax for multiple starting points
- Match only regular PHP files

Amends: da57afb
  • Loading branch information
mcaskill committed Jun 5, 2018
1 parent 989aa11 commit 3cb65d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@phpcs",
"@phpunit"
],
"phplint": "find {src,tests} -name '*.php' -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1",
"phplint": "find src tests -type f -name '*.php' -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1",
"phpcs": "php vendor/bin/phpcs -ps --colors src/ tests/",
"phpcbf": "php vendor/bin/phpcbf -ps --colors src/ tests/",
"phpunit": "php vendor/bin/phpunit --coverage-text"
Expand Down

0 comments on commit 3cb65d9

Please sign in to comment.