Skip to content

Commit

Permalink
fix: add some files known to cause fatal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alekitto committed Jun 13, 2024
1 parent 830880a commit 182a593
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/Util/BogonFilesFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ final class BogonFilesFilter
{
private const BOGON_FILES_REGEX = '#' .
// https://github.com/alekitto/class-finder/issues/13#issuecomment-2010509501
'(?:symfony/(?:cache|symfony/Component/Cache)/Traits/(?:Redis(?:Cluster)?\dProxy|ValueWrapper)\.php$)' .
'(?:' .
'(?:symfony/(?:cache|symfony/Component/Cache)/Traits/(?:Redis(?:Cluster)?\dProxy|ValueWrapper)|' .
'php-coveralls/php-coveralls/src/Bundle/CoverallsBundle/Console/Application|' .
'dealerdirect/phpcodesniffer-composer-installer/src/Plugin|' .
'myclabs/php-enum/src/PHPUnit/Comparator|' .
'guzzlehttp/guzzle/src/functions)' .
'\.php$)' .
'#x';

public static function getFileFilterFn(Closure|null $filter = null): Closure
Expand Down

0 comments on commit 182a593

Please sign in to comment.