Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik
Copy link
Member Author

/cc @marcreichel let's another try

@samsonasik samsonasik enabled auto-merge (squash) October 1, 2025 10:21
@samsonasik samsonasik merged commit 1bec85f into main Oct 1, 2025
50 checks passed
@samsonasik samsonasik deleted the fix-regex-2 branch October 1, 2025 10:22
/**
* @var array<string, string>
*/
private const COMPLEX_PATTERN_TO_SIMPLE = [
Copy link
Member

Choose a reason for hiding this comment

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

Could you add note about the scoper issue? So we at least know "why" , since there is no test fixture to verify

Copy link
Member Author

Choose a reason for hiding this comment

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

yes

Copy link
Member Author

Choose a reason for hiding this comment

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

The fixture is exists, see https://github.com/rectorphp/rector-src/pull/7390/files#diff-50a42149759f087eb3dce4cbe895b8f759b6e1b26013eb262d8a088c39706e03

It just issue with php-scoper.

I will look if it can simply be handled by double quote.

Copy link
Member Author

Choose a reason for hiding this comment

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

Properly resolved with double quoted:

on dev-main rectorphp/rector@d61e2b7

Tested locally, working ok.

I will add the note comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

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