From c312c8ddd6e23161156dae1476a171269f58b8dc Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 1 Nov 2020 00:11:41 +0000 Subject: [PATCH] fix build --- tests/phpstan/configs/l8-baseline.neon | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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