From 7e004359397c8ff2452d39d19bedb76d72b3fc4f Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 27 Feb 2024 17:38:41 +0900 Subject: [PATCH] chore: remove ignoreErrors --- phpstan-baseline.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 30360b08b943..a5a7fb669b98 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -303,12 +303,7 @@ ]; $ignoreErrors[] = [ 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/system/Config/BaseService.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Only booleans are allowed in a negated boolean, array given\\.$#', - 'count' => 1, + 'count' => 2, 'path' => __DIR__ . '/system/Config/BaseService.php', ]; $ignoreErrors[] = [