Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented May 17, 2024

@staabm staabm marked this pull request as ready for review May 17, 2024 08:56
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@staabm staabm force-pushed the substr-maybeone branch from c42090f to 3e7f354 Compare May 17, 2024 11:52
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could keep non-falsy-string here since there is no 0 in the string constant @staabm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also though about that. I think such a case is pretty unlikely and supporting it would mean a lot of complication of the extension.

therefore I decided against supporting that

@staabm staabm force-pushed the substr-maybeone branch 2 times, most recently from d27644a to ed6fd44 Compare May 24, 2024 18:33
@ondrejmirtes ondrejmirtes merged commit ac7b886 into phpstan:1.11.x May 30, 2024
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the substr-maybeone branch May 30, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants