Join GitHub today
[DependencyInjection] include file and line number in deprecation #24191
In #23108 we removed line numbers from deprecation messages created by the YAML parser because those numbers were quite useless without the file being parsed. I suggest to revert this change and add the file being parsed to the deprecation message.
For configuration errors; file > stacktrace.
Stacktrace is huge but doesnt help me at all. I end up searching the project for
referenced this pull request
Sep 17, 2017
My intent was to improve the situation in Symfony 3.3 where such a flag could not be added as this would be a new feature. However, I agree that this would be a cleaner solution and thus I opened #24253.