You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This was initially requested in phpstan/phpstan-deprecation-rules#64, which end up introducing the needed extension point. But solving this entirely actually require using the extension point, not just introducing it.
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.
The text was updated successfully, but these errors were encountered: