Open
Description
PHPUnit 10.5 introduced a new #[IgnoreDeprecations]
attribute sebastianbergmann/phpunit#5532 to signal that a test is exercising deprecated code paths i.e. that calls to deprecated methods/functions are expected.
PHPStan however is reporting calls to deprecated functions in that test as errors.
Recently, a similar issue was reported for Symfony's PHPUnit-bridge definition of @group legacy
annotated tests, #64
Issue found in Drupal's https://www.drupal.org/project/drupal/issues/3417066
Metadata
Metadata
Assignees
Labels
No labels