+
Skip to content

__CLASS__ outside class should error #10099

@staabm

Description

@staabm

Feature request

we should report a error when __CLASS__ is used outside a class

https://phpstan.org/r/ff2fe496-a0b4-4385-babd-f6cd7e71a379

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载