-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Restore backwards-compatibility for render calls #4772
Conversation
$method | ||
)); | ||
} | ||
@trigger_error(sprintf( |
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.
You should avoid sprintf
for performance, use string concatenation instead.
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 would prefer readability over performance here
Argh, this is not so simple, one of the methods is relying on |
This fixes deprecations from the phpunit bridge.
Argh again, |
I'm a bit out of ideas now... how to support several signatures, one of which is public? |
I think the right call is to just revert my previous PR and deal with that later... by dropping sf 2 ? |
If you try to override a method that is final, does it give an exception even if you don't call it? |
? It's not final... |
I do think we need time to think how to do this, might be a good idea to just revert your last PR to get some time |
yup this is definitely not an easy one. Closing for now. |
I am targeting this branch, because this is BC.
Close sonata-project/SonataPageBundle#910
Changelog
To do