By using SYMFONY_DEPRECATIONS_HELPER=max[self]=0, deprecations that are triggered outside the vendors directory will be accounted for seperately, while deprecations triggered from a library inside it will not (unless you reach 999999 of these), giving you the best of both worlds.
From symfony documentation (https://symfony.com/doc/current/components/phpunit_bridge.html):