From dbbbc4f9c9ccac0da67327bb794353f29b9bb1ba Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 7 Jan 2022 21:39:19 +0000 Subject: [PATCH] updated phpstan baseline --- tests/phpstan/configs/actual-problems.neon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/phpstan/configs/actual-problems.neon b/tests/phpstan/configs/actual-problems.neon index 77f3e5d77..b76a07a28 100644 --- a/tests/phpstan/configs/actual-problems.neon +++ b/tests/phpstan/configs/actual-problems.neon @@ -1040,6 +1040,11 @@ parameters: count: 1 path: ../../../src/world/Explosion.php + - + message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: ../../../src/world/World.php + - message: "#^Cannot access offset 'data' on array\\{priority\\: int, data\\: pocketmine\\\\math\\\\Vector3\\}\\|int\\|pocketmine\\\\math\\\\Vector3\\.$#" count: 1 @@ -1051,7 +1056,7 @@ parameters: path: ../../../src/world/World.php - - message: "#^Parameter \\#1 \\$keys of function array_fill_keys expects array, mixed given\\.$#" + message: "#^Cannot cast mixed to string\\.$#" count: 1 path: ../../../src/world/World.php