Skip to content

Crashing when scanning an app #7

Description

@GanbaruTobi

gbaru@GBARU-MAIN:/home/gbaru/php-class-graph$ php examples/whole_project.php -p /home/gbaru/ilias/ILIAS-7.24
PHP Warning: Undefined array key 265 in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 283
PHP Fatal error: Uncaught TypeError: PhpParser\Lexer::getNextToken(): Return value must be of type int, null returned in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php:317
Stack trace:
#0 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php(208): PhpParser\Lexer->getNextToken()
#1 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php(158): PhpParser\ParserAbstract->doParse()
#2 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php(51): PhpParser\ParserAbstract->parse()
#3 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php(32): PhpParser\Parser\Multiple->tryParse()
#4 /home/gbaru/php-class-graph/src/Traverser.php(40): PhpParser\Parser\Multiple->parse()
#5 /home/gbaru/php-class-graph/src/FilteredRecursiveDependencyChecker.php(27): ClassGraph\Traverser->traverse()
#6 /home/gbaru/php-class-graph/examples/whole_project.php(65): ClassGraph\FilteredRecursiveDependencyChecker->run()
#7 {main}
thrown in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 317

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions