mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
tests: drop lint.sh - no longer needed now that we have PHPStan
This commit is contained in:
@ -14,13 +14,6 @@ while getopts "p:t:" OPTION 2> /dev/null; do
|
||||
esac
|
||||
done
|
||||
|
||||
./tests/lint.sh -p "$PHP_BINARY" -d ./src/pocketmine
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo Lint scan failed!
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.3/phpstan.phar
|
||||
"$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1
|
||||
echo "PHPStan scan succeeded"
|
||||
|
Reference in New Issue
Block a user