File tree 2 files changed +2
-0
lines changed
tests/functional/nested-composer-projects
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ final class BogonFilesFilter
18
18
'php-coveralls/php-coveralls/src/Bundle/CoverallsBundle/Console/Application| ' .
19
19
'dealerdirect/phpcodesniffer-composer-installer/src/Plugin| ' .
20
20
'myclabs/php-enum/src/PHPUnit/Comparator| ' .
21
+ 'nikic/php-parser/lib/PhpParser/Node/(?:Expr/(?:ArrayItem|ClosureUse)|Scalar/(Encapsed|EncapsedStringPart|DNumber|LNumber)|Stmt/(DeclareDeclare|PropertyProperty|StaticVar|UseUse))| ' .
21
22
'guzzlehttp/guzzle/src/functions| ' .
22
23
'phpbench/phpbench/lib/Report/Func/functions| ' .
23
24
'composer/(?:autoload_\w+|InstalledVersions) ' .
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ require_once 'vendor/autoload.php';
6
6
$ otherProjectClassLoader = require __DIR__ . '/otherProject/vendor/autoload.php ' ;
7
7
8
8
$ finder = new Kcs \ClassFinder \Finder \ComposerFinder ($ otherProjectClassLoader );
9
+ $ finder ->skipBogonFiles ();
9
10
iterator_to_array ($ finder );
10
11
11
12
echo "OK " ;
You can’t perform that action at this time.
0 commit comments