You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…solve parameters (fancyweb)
This PR was merged into the 4.4 branch.
Discussion
----------
[DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #37166
| License | MIT
| Doc PR | -
> Only array parameters are not inlined when dumped.
This is true only when the XML debug container is used, not on a live container that can contain unresolved parameters in the `%my_param%` form. That was my mistake. We have to resolve to get the parameter type.
`$value = [];` was just an improvement to avoid useless parameter resolve btw.
Commits
-------
da0e2c3 [DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters
Symfony version(s) affected: 5.1.0 (not sure if also appear on 5.0)
Description
Lint:container fails on prod with event name from parameter.
How to reproduce
Possible Solution
Not sure why it fails with this and why it only fails on prod and not on dev
The text was updated successfully, but these errors were encountered: