mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed lint scan scanning some files twice
This commit is contained in:
parent
0c35c16727
commit
f332d3647c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user