Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Filter out trans paths that are covered by a parent folder path#47695
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[FrameworkBundle] Filter out trans paths that are covered by a parent folder path#47695
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas left a comment
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.
Thanks for the PR. Can you figure out a test case for this please?
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
12b311d tobfb8cbeCompare5499355 to3fdcbcaComparenicolas-grekas commentedSep 28, 2022
Thank you@natewiebe13. |
…by a parent folder path (natewiebe13)This PR was squashed before being merged into the 5.4 branch.Discussion----------[FrameworkBundle] Filter out trans paths that are covered by a parent folder path| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | PartiallyFixes#45645| License | MIT| Doc PR | N/AIt was possible to end up with duplicated paths which would could result in many files being scanned more than once. This prevents that.Commits-------459ac04 [FrameworkBundle] Filter out trans paths that are covered by a parent folder path
3fdcbca to459ac04Compare
It was possible to end up with duplicated paths which would could result in many files being scanned more than once. This prevents that.