-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Adds null locale processor to remove brackets [[ ... ]] when don't use Translator #843
Conversation
butschster
commented
Dec 7, 2022
Q | A |
---|---|
Bugfix? | ❌ |
Breaks BC? | ❌ |
New feature? | ✔️ |
…slator component is not installed.
[ci skip] [skip ci]
…nto feature/fake-locale-processor
Codecov ReportBase: 84.71% // Head: 84.69% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #843 +/- ##
============================================
- Coverage 84.71% 84.69% -0.03%
- Complexity 5564 5567 +3
============================================
Files 701 703 +2
Lines 13631 13645 +14
============================================
+ Hits 11547 11556 +9
- Misses 2084 2089 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
*/ | ||
final class NullLocaleProcessor implements ProcessorInterface | ||
{ | ||
private const REGEXP = '/\[\[(.*?)\]\]/s'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think locale format should be moved into Stempler. Is it possible?