diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 4ca3d1f0b..c756ebabe 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -66,6 +66,11 @@ parameters: count: 2 path: src/Server.php + - + message: "#^Instanceof between pocketmine\\\\world\\\\WorldManager and pocketmine\\\\world\\\\WorldManager will always evaluate to true\\.$#" + count: 1 + path: src/Server.php + - message: "#^Call to an undefined method pocketmine\\\\command\\\\CommandSender\\:\\:teleport\\(\\)\\.$#" count: 1