mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Fixed lint scan ignoring PHP_BINARY argument
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user