Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP80 string helpers loose comparison #3246

Merged
merged 4 commits into from
Dec 29, 2022

Conversation

N-Silbernagel
Copy link
Contributor

This PR adds support for loose comparisons in StrContains-, StrEndsWith- and StrStartsWithRector.

I added those loose comparisons to all corresponding test.

The namespaces "Identical" and "NotIdentical" might not be ideal now but I don't think it's worth changing the FQN of the classes.

@TomasVotruba
Copy link
Member

I fixed the dependency in main. Could you rebase?

@N-Silbernagel
Copy link
Contributor Author

CI is green now

@TomasVotruba TomasVotruba merged commit 6bd6b3c into rectorphp:main Dec 29, 2022
@TomasVotruba
Copy link
Member

Thank you 👏

@N-Silbernagel N-Silbernagel deleted the Str-helper-non-strict branch December 29, 2022 13:22
@N-Silbernagel
Copy link
Contributor Author

Happy to contribute. Thank you for the fast feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants