Skip to content

substr on union of constant strings #7663

@staabm

Description

@staabm

Feature request

I think it would be helpful, if phpstan would support simple substr() transformation on constant values, e.g. when converting between ISO standard strings or similar

https://phpstan.org/r/821608f5-b8e3-4637-89f0-add66e8730ed

I can work on it, if we agree its useful.

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