Skip to content

str_starts_with(), str_ends_with() don't assert string as non-empty-string #8378

@SCIF

Description

@SCIF

https://psalm.dev/r/1c49ff9da6

True result on non-empty $needle should lead to asserting the $haystack as non-empty-string.

Probably str_*_with() functions should be extracted from ClassMap and introduced into stub files. That's just my assumption though.

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