mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed lint scan ignoring PHP_BINARY argument
This commit is contained in:
parent
92281da514
commit
b6c1139b27
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user