+
Skip to content

object xor object not reported as always true #7539

@janedbal

Description

@janedbal

Bug report

Any always-true condition is reported for or, but not for xor.

Code snippet that reproduces the problem

https://phpstan.org/r/eccd9f25-9c42-433d-9db4-a4d28fbfb278

Expected output

Always true condition for xor.

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浏览器服务,不要输入任何密码和下载