From f6899f900e5a228414b4b0320125ca2c7305039c Mon Sep 17 00:00:00 2001 From: Paulo Esteves Date: Sat, 16 Sep 2023 12:45:09 +0100 Subject: [PATCH] remove exception line from phpstan-baseline for RouteCollection --- phpstan-baseline.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 106de3723ef0..fc2f43d3005f 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -2316,11 +2316,6 @@ 'count' => 1, 'path' => __DIR__ . '/system/Router/RouteCollection.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/system/Router/RouteCollection.php', -]; $ignoreErrors[] = [ 'message' => '#^Method CodeIgniter\\\\Router\\\\RouteCollectionInterface\\:\\:add\\(\\) has parameter \\$to with no signature specified for Closure\\.$#', 'count' => 1,