mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
8 lines
241 B
Bash
Executable File
8 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
echo Running PHP lint scans...
|
|
shopt -s globstar
|
|
for file in src/pocketmine/*.php src/pocketmine/**/*.php; do
|
|
OUTPUT=`php -l "$file"`
|
|
[ $? -ne 0 ] && echo -n "$OUTPUT" && exit 1
|
|
done
|
|
echo Lint scan completed successfully. |