Skip to content

Enum should error on magic methods #7837

@staabm

Description

@staabm

Bug report

See php/php-src#9350

Code snippet that reproduces the problem

https://phpstan.org/r/d5d2c43c-1c80-4b40-93c5-0dffa81f7bf1

Expected output

Phpstan should error for all mentioned magic methods. Atm it misses only a few of them

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