[DI] confusing deprecation in TypedReference in 4.4 #35752
Labels
DependencyInjection
DX
DX = Developer eXperience (anything that improves the experience of using Symfony)
Uh oh!
There was an error while loading. Please reload this page.
In #26636 (4.1) the
$requiringClass
argument inTypedReference
has been deprecated: https://github.com/symfony/symfony/pull/26636/files#diff-6561cf4254b86cdc43ada0985f87e4a4R29While helping someone on Slack whom received this deprecation, we had a hard time figuring out what the actual issue was. As
$requiringClass
is removed, the deprecation is referencing to a non-existing argument. I was thinking about something shown below as alternative, though I'm not 100% sure about it.With as message:
Edit: can make a PR based on this change: f473c24
The text was updated successfully, but these errors were encountered: