Fixed lint scan ignoring PHP_BINARY argument

This commit is contained in:
Dylan K. Taylor 2017-05-24 14:25:48 +01:00
parent 92281da514
commit b6c1139b27

View File

@ -12,7 +12,7 @@ done
echo Running PHP lint scans...
OUTPUT=`find ./src/pocketmine -name "*.php" -print0 | xargs -0 -n1 -P4 php -l`
OUTPUT=`find ./src/pocketmine -name "*.php" -print0 | xargs -0 -n1 -P4 $PHP_BINARY -l`
if [ $? -ne 0 ]; then
echo $OUTPUT | grep -v "No syntax errors"