Skip to content

Conversation

@shaedrich
Copy link
Contributor

@shaedrich shaedrich commented Oct 29, 2025

Follow-up to #57564

As suggested in #57564 (comment)

Now all case-sensitive replacements use replaceWhileKeepingCase() method

The benefits from the original PR become even more valuable with this one:

✅ Improves readability by making the methods more compact without the "internal logic" in each of them
✅ Improves maintainability by having a single source of truth/failure
✅ Makes adapting this in new methods quite easy

@shaedrich shaedrich changed the title [12.x] Use ReplacesAttributes::replaceKeepCase() also for imploded parameters [12.x] Use ReplacesAttributes::replaceWhileKeepingCase() also for imploded parameters Oct 29, 2025
@shaedrich shaedrich marked this pull request as draft October 29, 2025 18:21
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.

1 participant