diff --git a/tests/phpstan/configs/l8-baseline.neon b/tests/phpstan/configs/l8-baseline.neon index 8059b88b4..47ebfdf52 100644 --- a/tests/phpstan/configs/l8-baseline.neon +++ b/tests/phpstan/configs/l8-baseline.neon @@ -751,13 +751,13 @@ parameters: path: ../../../src/world/light/SkyLightUpdate.php - - message: "#^Only booleans are allowed in an if condition, bool\\|null given\\.$#" - count: 3 + message: "#^Cannot call method setHeightMap\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#" + count: 2 path: ../../../src/world/light/SkyLightUpdate.php - - message: "#^Cannot call method setHeightMap\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#" - count: 1 + message: "#^Only booleans are allowed in an if condition, bool\\|null given\\.$#" + count: 3 path: ../../../src/world/light/SkyLightUpdate.php - @@ -770,6 +770,11 @@ parameters: count: 1 path: ../../../src/world/light/SkyLightUpdate.php + - + message: "#^Cannot call method setHeightMapArray\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#" + count: 1 + path: ../../../src/world/light/SkyLightUpdate.php + - message: "#^Cannot call method getHeightMapArray\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#" count: 1