Skip to content

Commit

Permalink
Remove @phpstan-ignore-next-line from config/router.php
Browse files Browse the repository at this point in the history
Since phpstan v1.12.1 the related issue is fixed.
phpstan/phpstan#7685
phpstan/phpstan-src#3380
  • Loading branch information
RafaelKr committed Nov 14, 2024
1 parent 370b4d5 commit 09897f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

// Workaround https://bugs.php.net/64566
$autoPrependFile = \ini_get('auto_prepend_file');
// @phpstan-ignore-next-line https://github.com/phpstan/phpstan/issues/7685
if (false !== (bool) $autoPrependFile && !\in_array(\realpath($autoPrependFile), \get_included_files(), true)) {
require \ini_get('auto_prepend_file');
}
Expand Down

0 comments on commit 09897f8

Please sign in to comment.