Skip to content

[0.11.5] Strict comparison using === between true and false will always evaluate to false #2082

@ruudk

Description

@ruudk

I just upgraded from 0.11.4 to 0.11.5 and am getting a weird error.

Cannot reproduce it on phpstan.org but created a POC repo: https://github.com/ruudk/phpstan-bug.

https://phpstan.org/r/04fe11e6-5772-4890-9625-605db3184ed8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions