Skip to content

Remove reporting of deprecated method calls in tests flagged as @group legacy #383

Open
@stof

Description

@stof

symfony/phpunit-bridge defines a convention where adding @group legacy on a test (either by adding it on the method or on the class as PHPUnit considers that a @group added on a class applies to all tests defined in that class) disables the reporting of deprecations in that test, as this test is about covering the legacy behavior (and so using deprecated APIs is expected).

phpstan/phpstan-deprecation-rules#99 has added an extension point allowing to implement such feature. It would be great to provide an implementation of the interface following this convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions