Postponed on:
- #3261266: Remove deprecated code from the testing framework (base classes, listeners, etc)
- Codebase to be updated to use Symfony 6.1, #3275864: [META] Symfony 6.1 compatibility
Problem/Motivation
With the commit of [PhpUnitBridge] Add option ignoreFile to configure a file that lists deprecation messages to ignore to Symfony 6.1 branch, we now can (hopefully) remove the deprecationListenerTrait
implementation of skipped deprecations, and replace with an ignoreFile directly managed by Symfony.
Done:
Upstream issue: [PHPUnitBridge] ignoreFile does not allow commentsUpstream issue: [PHPUnitBridge] When only ignoreFile is passed in SYMFONY_DEPRECATIONS_HELPER, deprecations no longer fail tests