From 9fc260fb1aaebba500ce771f2472d67d5c248f0d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 4 Dec 2019 19:38:54 +0000 Subject: [PATCH] keep phpstan.neon.dist ignoreErrors sorted by file --- phpstan.neon.dist | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index b1fb36c2d..b918d5fc5 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -18,6 +18,12 @@ parameters: count: 1 path: src/pocketmine/Server.php + - + message: "#^Call to an undefined method pocketmine\\\\command\\\\CommandSender\\:\\:teleport\\(\\)\\.$#" + count: 1 + path: src/pocketmine/command/defaults/TeleportCommand.php +# comment: "not actually possible, but high cost to fix warning" + - message: "#^Constructor of class pocketmine\\\\level\\\\generator\\\\hell\\\\Nether has an unused parameter \\$options\\.$#" count: 1 @@ -70,8 +76,3 @@ parameters: message: "#^Constant pocketmine\\\\VERSION not found\\.$#" path: src/pocketmine - - - message: "#^Call to an undefined method pocketmine\\\\command\\\\CommandSender\\:\\:teleport\\(\\)\\.$#" - count: 1 - path: src/pocketmine/command/defaults/TeleportCommand.php -# comment: "not actually possible, but high cost to fix warning"