Hi,
the PhpFileExtractor is calling init() on every visitor:
|
$v->init($collection, $file); |
although one of the allowed types is PhpParser\NodeVisitor, which doesn't have an init() method: https://github.com/nikic/PHP-Parser/blob/3f718ee2c3a22b656773476f19dd8d72a50e2413/lib/PhpParser/NodeVisitor.php
Hi,
the
PhpFileExtractoris callinginit()on every visitor:extractor/src/FileExtractor/PHPFileExtractor.php
Line 38 in 82fc51a
although one of the allowed types is
PhpParser\NodeVisitor, which doesn't have aninit()method: https://github.com/nikic/PHP-Parser/blob/3f718ee2c3a22b656773476f19dd8d72a50e2413/lib/PhpParser/NodeVisitor.php