Inline implementation of final class DeprecationCollector to grab line and...
requested to merge issue/upgrade_status-3352605:3352605-error-with-twigdeprecationanalyzer.php into 4.x
Inline implementation of final class DeprecationCollector to grab line and file information for non-twig file deprecations identified.
Related to #3352605