From 3411103e110032b3ce4f058dfcb9dd7dc9e55268 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 4 Sep 2025 23:29:55 +0100 Subject: [PATCH] Remove dead PHPStan ignores --- tests/phpstan/configs/actual-problems.neon | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/phpstan/configs/actual-problems.neon b/tests/phpstan/configs/actual-problems.neon index 06abe7fee..570303843 100644 --- a/tests/phpstan/configs/actual-problems.neon +++ b/tests/phpstan/configs/actual-problems.neon @@ -1158,12 +1158,6 @@ parameters: count: 2 path: ../../../src/world/World.php - - - message: '#^Parameter \#2 \$x of method pocketmine\\block\\Block\:\:position\(\) expects int, float\|int given\.$#' - identifier: argument.type - count: 2 - path: ../../../src/world/World.php - - message: '#^Parameter \#2 \$y of method pocketmine\\world\\World\:\:getBlockAt\(\) expects int, float\|int given\.$#' identifier: argument.type @@ -1188,12 +1182,6 @@ parameters: count: 2 path: ../../../src/world/World.php - - - message: '#^Parameter \#3 \$y of method pocketmine\\block\\Block\:\:position\(\) expects int, float\|int given\.$#' - identifier: argument.type - count: 2 - path: ../../../src/world/World.php - - message: '#^Parameter \#3 \$z of method pocketmine\\world\\World\:\:getBlockAt\(\) expects int, float\|int given\.$#' identifier: argument.type @@ -1218,12 +1206,6 @@ parameters: count: 2 path: ../../../src/world/World.php - - - message: '#^Parameter \#4 \$z of method pocketmine\\block\\Block\:\:position\(\) expects int, float\|int given\.$#' - identifier: argument.type - count: 2 - path: ../../../src/world/World.php - - message: '#^Method pocketmine\\world\\biome\\BiomeRegistry\:\:getBiome\(\) should return pocketmine\\world\\biome\\Biome but returns pocketmine\\world\\biome\\Biome\|null\.$#' identifier: return.type