diff --git a/tasks/phpstan/php-version-dependent-config-libs.php b/tasks/phpstan/php-version-dependent-config-libs.php index 7bad77c75d..9e5acc6cd6 100644 --- a/tasks/phpstan/php-version-dependent-config-libs.php +++ b/tasks/phpstan/php-version-dependent-config-libs.php @@ -9,7 +9,7 @@ $config['parameters']['phpVersion'] = $phpVersion; # see https://github.com/phpstan/phpstan/issues/4060 if ($phpVersion < 80000) { $config['parameters']['ignoreErrors'][] = [ - 'message' => '#^Cannot access offset \\(int\\|string\\) on array\\|false#', + 'message' => '#^Cannot access offset \\(int\\|string\\) on array\\ __DIR__ . '/../../lib/Features/FeatureFlagsController.php', 'count' => 1, ];