Skip to content

"new static" is incorrectly reported as a package relation to global #415

Open
@kapitancho

Description

@kapitancho

PhpMetrics - version 2.5.0.

I have a code like "new static(......)"
If I open the "Package Relations" page I see a reference to the global package (that's wrong).
If I change the code to "new self(......)" everything is reported correctly - there is no reference to the global package (as expected).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions