mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
phpstan 0.12.6
This commit is contained in:
parent
cfd975009e
commit
e5d62ec901
@ -43,8 +43,3 @@ parameters:
|
|||||||
message: "#^Call to function assert\\(\\) with false and 'unknown hit type' will always evaluate to false\\.$#"
|
message: "#^Call to function assert\\(\\) with false and 'unknown hit type' will always evaluate to false\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/pocketmine/entity/projectile/Projectile.php
|
path: ../../../src/pocketmine/entity/projectile/Projectile.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Strict comparison using \\=\\=\\= between int\\<1, max\\> and 0 will always evaluate to false\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/pocketmine/utils/Config.php
|
|
||||||
|
@ -14,7 +14,7 @@ while getopts "p:t:" OPTION 2> /dev/null; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.5/phpstan.phar
|
[ ! -f phpstan.phar ] && echo "Downloading PHPStan..." && curl -sSLO https://github.com/phpstan/phpstan/releases/download/0.12.6/phpstan.phar
|
||||||
"$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1
|
"$PHP_BINARY" phpstan.phar analyze --no-progress --memory-limit=2G || exit 1
|
||||||
echo "PHPStan scan succeeded"
|
echo "PHPStan scan succeeded"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user