Skip to content

Add PregMatchRemoveFlags mutator - remove flags one by one#1462

Merged
maks-rafalko merged 1 commit intomasterfrom
feature/preg-match-remove-flags
Dec 13, 2020
Merged

Add PregMatchRemoveFlags mutator - remove flags one by one#1462
maks-rafalko merged 1 commit intomasterfrom
feature/preg-match-remove-flags

Conversation

@maks-rafalko
Copy link
Member

@maks-rafalko maks-rafalko commented Dec 13, 2020

This PR:

- preg_match('/^test$/igu', $string);

+ preg_match('/^test$/gu', $string);
+ preg_match('/^test$/iu', $string);
+ preg_match('/^test$/ig', $string);

@maks-rafalko maks-rafalko added this to the 0.21.0 milestone Dec 13, 2020
Copy link
Member

@sidz sidz left a comment

Choose a reason for hiding this comment

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

👍

maks-rafalko added a commit to infection/site that referenced this pull request Dec 13, 2020
@maks-rafalko maks-rafalko merged commit ebc39a2 into master Dec 13, 2020
@maks-rafalko maks-rafalko deleted the feature/preg-match-remove-flags branch December 13, 2020 20:58
@maks-rafalko
Copy link
Member Author

Thank you @sidz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments