### Symfony version(s) affected 6.1.0, but earlier for sure ### Description Baseline generation includes deprecations triggered in legacy tests, which IMHO 1) is irrelevant, because by design deprecations in that context are ignored since they're explicitly expected to occur 2) are confusing if included in the baseline file, since they're not really to be addressed by developers ### How to reproduce Create a baseline file for a test class that has at least a test marked `legacy` and deprecations are triggered as part of that test execution. ### Possible Solution Do not include in deprecation baseline file the Deprecation objects that have `::isLegacy()` true. ### Additional Context _No response_