From 03d84e49a48593cd50cca05e658e30b3e00930f1 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 4 Nov 2022 09:38:37 +0900 Subject: [PATCH] chore: remove ignoreErrors item PHPStan 1.9.0 reported: ------ ---------------------------------------------------------------------------------------------------------- Line system/CLI/Console.php ------ ---------------------------------------------------------------------------------------------------------- Ignored error pattern #^Strict comparison using === between array and array{} will always evaluate to false\.$# in path /.../CodeIgniter4/system/CLI/Console.php was not matched in reported errors. ------ ---------------------------------------------------------------------------------------------------------- --- phpstan-baseline.neon.dist | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpstan-baseline.neon.dist b/phpstan-baseline.neon.dist index 27f42cde9804..21b3796414c7 100644 --- a/phpstan-baseline.neon.dist +++ b/phpstan-baseline.neon.dist @@ -50,11 +50,6 @@ parameters: count: 1 path: system/Cache/Handlers/RedisHandler.php - - - message: "#^Strict comparison using === between array and array{} will always evaluate to false\\.$#" - count: 1 - path: system/CLI/Console.php - - message: "#^Call to an undefined method CodeIgniter\\\\HTTP\\\\Request\\:\\:getPost\\(\\)\\.$#" count: 1