Skip to content

Enum can implements __debugInfo since PHP 8.6 #15368

Description

@VincentLanglet

Feature request

https://phpstan.org/r/fac207b5-3cf8-4631-849e-ede2d60e11a4

Enum Status contains magic method __debugInfo(). should not be reported on PHP 8.6+

https://wiki.php.net/rfc/debugable-enums

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

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions