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

Fix preg_match() group containing start/end meta characters #3740

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Dec 19, 2024

@staabm staabm marked this pull request as ready for review December 19, 2024 19:44
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@@ -0,0 +1,19 @@
<?php // lint >= 7.4
Copy link
Member

Choose a reason for hiding this comment

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

What happens before 7.4?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no difference. I had the impression the nsrt/ tests require a lint php condition

Copy link
Member

Choose a reason for hiding this comment

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

They don't. If it's omitted then it's always analysed.

I'm asking because after merging to 2.0.x I'd have to deleted it anyway. But if the tests passes on 7.2+ please remove this comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done 👍

@ondrejmirtes ondrejmirtes merged commit defd406 into phpstan:1.12.x Dec 20, 2024
177 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

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.

3 participants