Skip to content

Does not work with a namespace() method name #334

Closed
@aocneanu

Description

@aocneanu
Q A
Bug report? yes
Feature request? no
Library version 1.11.1

Hello,

If I use insights on a class that has a method called namespace() the following error is thrown

Symfony\Component\Debug\Exception\FatalThrowableError  : Argument 1 passed to NunoMaduro\PhpInsights\Domain\Collector::addNamespace() must be of the type string, bool given, called in /Users/adi/code/enso/vendor/nunomaduro/phpinsights/src/Domain/Analyser.php on line 166

Thank you for this awesome package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions