8000 [PhpUnitBridge] Baseline generation includes deprecations triggered in legacy tests · Issue #46710 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[PhpUnitBridge] Baseline generation includes deprecations triggered in legacy tests #46710
Closed
@mondrake

Description

@mondrake

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0