From 63c3127248d936f7b80b2d6b39746fb85b6e58fc Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 30 Jan 2023 21:52:31 +0000 Subject: [PATCH] Scrub PHPStan baselines --- tests/phpstan/configs/actual-problems.neon | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/phpstan/configs/actual-problems.neon b/tests/phpstan/configs/actual-problems.neon index 0afae17b6..f5db3f8c4 100644 --- a/tests/phpstan/configs/actual-problems.neon +++ b/tests/phpstan/configs/actual-problems.neon @@ -5,11 +5,6 @@ parameters: count: 2 path: ../../../build/make-release.php - - - message: "#^Parameter \\#1 \\$pharPath of function pocketmine\\\\build\\\\server_phar\\\\buildPhar expects string, array\\\\|string\\|false given\\.$#" - count: 1 - path: ../../../build/server-phar.php - - message: "#^Parameter \\#1 \\$strings of function pocketmine\\\\build\\\\server_phar\\\\preg_quote_array expects array\\, array\\ given\\.$#" count: 1 @@ -30,11 +25,6 @@ parameters: count: 1 path: ../../../src/Server.php - - - message: "#^Cannot cast array\\\\|string\\|false to string\\.$#" - count: 1 - path: ../../../src/ServerConfigGroup.php - - message: "#^Cannot cast mixed to int\\.$#" count: 2 @@ -1315,11 +1305,6 @@ parameters: count: 3 path: ../../../src/world/light/SkyLightUpdate.php - - - message: "#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#" - count: 1 - path: ../../../src/world/light/SkyLightUpdate.php - - message: "#^Only numeric types are allowed in \\-, int\\|null given on the right side\\.$#" count: 1