-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] BC break after PR 13519 #14171
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
This is an invalid usage of Symfony. The |
@stof I'm not disagreeing there but still it worked for years and now it broke and the error message is not a nice understandable one. aka the error i got was:
|
Closing as the behavior for wrong parameters is undefined of course. |
So when updating from SF 2.6.1 to 2.6.6 i found my self stuck with a error on
cache:clear
.After some research I found out that in one of our internal components we where doing the following:
This used to work but due to a change made in #13519 if stopped working.
The code dumped after #13519 was merged looks something like (see the double
$this->get
):I'm not sure if this a BC break everyone is ok with but it confused the ..... out of me.
A simple fix would be to modify the code in
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
around line 1334.Is there any interest in a PR for this?
The text was updated successfully, but these errors were encountered: