From 09c074ed228c5159fd34a20fb673318ab9d165ed Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 6 Apr 2025 02:43:31 +0100 Subject: [PATCH] Yes, I know... it can't be helped for now --- tests/phpstan/configs/actual-problems.neon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/phpstan/configs/actual-problems.neon b/tests/phpstan/configs/actual-problems.neon index d3adde422..39da503bb 100644 --- a/tests/phpstan/configs/actual-problems.neon +++ b/tests/phpstan/configs/actual-problems.neon @@ -1134,6 +1134,12 @@ parameters: count: 1 path: ../../../src/world/World.php + - + message: '#^Dynamic new is not allowed\.$#' + identifier: pocketmine.new.dynamic + count: 1 + path: ../../../src/world/World.php + - message: '#^Parameter \#1 \$x of method pocketmine\\world\\World\:\:getBlockAt\(\) expects int, float\|int given\.$#' identifier: argument.type