mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Fixed lint scan scanning some files twice
This commit is contained in:
@ -12,7 +12,7 @@ done
|
||||
|
||||
echo Running PHP lint scans...
|
||||
shopt -s globstar
|
||||
for file in src/pocketmine/*.php src/pocketmine/**/*.php; do
|
||||
for file in src/pocketmine/**/*.php; do
|
||||
OUTPUT=`"$PHP_BINARY" -l "$file"`
|
||||
[ $? -ne 0 ] && echo -n "$OUTPUT" && exit 1
|
||||
done
|
||||
|
Reference in New Issue
Block a user