Skip to content

Slow analysis of huge enum match #11263

@janedbal

Description

@janedbal

Bug report

Analysis of following file takes ~10 secs: https://gist.github.com/janedbal/19845067fe725dfb09cf21631bedbedb

Code snippet that reproduces the problem

No response

Expected output

Make it faster :)

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