We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e5a07 commit 865d7c5Copy full SHA for 865d7c5
.travis.yml
@@ -89,7 +89,7 @@ script:
89
- |
90
if [[ "$PHPCS" == "1" ]]; then
91
composer phpcs
92
- composer lint
+ bash php-lint.sh
93
fi
94
95
if [[ "$NPM_TESTS" == "1" ]]; then
php-lint.sh
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+find . -not \( -path ./vendor -prune \) -not \( -path ./php52 -prune \) -type f -name '*.php' -print0 | xargs -0 -n1 -P4 -I {} php -l -n {} | (! grep -v "No syntax errors detected" )
0 commit comments