The library does a *lot* of trigger_deprecation calls, but we don't really pay any attention to them...
To know we need to fix them, surfacing them would be useful.
https://packagist.org/packages/symfony/deprecation-contracts provides trigger_deprecation and suggests to use https://packagist.org/packages/symfony/error-handler