Skip to content

Issue when using with Laravel #397

@jan-koch

Description

@jan-koch

I'm trying to run PHPDox in a Laravel environment and am experiencing the following issue:

PHPDox Version: 0.12.0
Exception: TypeError (Code: 0)
Location: phar:///home/jan/.phive/phars/phpdox-0.12.0.phar/phpdox/collector/project/SourceFile.php (Line 74)

Return value of TheSeer\phpDox\Collector\SourceFile::getSource() must be of the type string, null returned

#0 phar:///home/jan/.phive/phars/phpdox-0.12.0.phar/phpdox/collector/Collector.php(101): TheSeer\phpDox\Collector\Backend\PHPParser->parse()
#1 phar:///home/jan/.phive/phars/phpdox-0.12.0.phar/phpdox/collector/Collector.php(71): TheSeer\phpDox\Collector\Collector->processFile()
#2 phar:///home/jan/.phive/phars/phpdox-0.12.0.phar/phpdox/Application.php(88): TheSeer\phpDox\Collector\Collector->run()  
#3 phar:///home/jan/.phive/phars/phpdox-0.12.0.phar/phpdox/CLI.php(120): TheSeer\phpDox\Application->runCollector()        
#4 /home/jan/.phive/phars/phpdox-0.12.0.phar(485): TheSeer\phpDox\CLI->run()```

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