Skip to content

Failing static analysis due to keywork self #4

Closed
@ramunasd

Description

@ramunasd

Version affected: 1.2.0

Error: Internal error: Internal error: Class 'self' not found in file ...

When child class tries to call parent methods using keyword self. I.e. self::getValues()

Technically such calls are correct and works, but rule phpstan.broker.dynamicStaticMethodReturnTypeExtension breaks execution on it.

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