From 15fca84f3b76699e2915a509048b0023e38930c1 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 4 Nov 2021 19:22:49 +0000 Subject: [PATCH] remove some PHPStan error patterns --- 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 fe984f020..5c1237f80 100644 --- a/tests/phpstan/configs/actual-problems.neon +++ b/tests/phpstan/configs/actual-problems.neon @@ -20,16 +20,6 @@ parameters: count: 1 path: ../../../build/server-phar.php - - - message: "#^Cannot access offset \\(float\\|int\\) on mixed\\.$#" - count: 1 - path: ../../../src/CrashDump.php - - - - message: "#^Cannot access offset string on mixed\\.$#" - count: 1 - path: ../../../src/CrashDump.php - - message: "#^Parameter \\#1 \\$path of static method pocketmine\\\\utils\\\\Filesystem\\:\\:cleanPath\\(\\) expects string, mixed given\\.$#" count: 1 @@ -70,11 +60,6 @@ parameters: count: 3 path: ../../../src/PocketMine.php - - - message: "#^Cannot access offset 'type' on mixed\\.$#" - count: 1 - path: ../../../src/Server.php - - message: "#^Cannot cast mixed to string\\.$#" count: 1