Skip to content

Regression for arrayFilter.strict #283

@stefanfisk

Description

@stefanfisk

There's been a recent regression for arrayFilter.strict where certain array types cause the error to longer be generated. Here's is a playground link which shows a mix of working and broken types https://phpstan.org/r/fbf8aca7-4b24-4591-b982-662087459dcb.

I'm afraid that I don't have time right now to investigate which exact version introduced this issue. But I noticed it after upgrading phpstan/phpstan from 2.1.22 to 2.1.25.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions