-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] PHPDumper hardwires polyfills into build container file #44866
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
Comments
Can you confirm it's the same issue than #44426 please? Or at least related? |
It goes to same direction, but I guess this case is easier to solve. I would suggest to ignore known polyfills classes to be inlined |
Works for me, PR welcome. |
chalasr
added a commit
that referenced
this issue
Jan 31, 2022
…load script (nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [DependencyInjection] Don't dump polyfilled classes in preload script | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #44866 | License | MIT | Doc PR | - Commits ------- c11d664 [DependencyInjection] Don't dump polyfilled classes in preload script
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected
5.4
Description
When parmeter
container.dumper.inline_class_loader
is enabled, it will hardwire also Polyfill interfaces like Stringable.How to reproduce
Possible Solution
Create a blacklist of which classes should not be included there
Additional Context
No response
The text was updated successfully, but these errors were encountered: