-
-
Notifications
You must be signed in to change notification settings - Fork 737
Closed
rectorphp/rector-phpunit
#462Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | 2.0.9 |
| PHP version | 8.2.26 |
| PHPUnit version | 10.5.45 |
I tried to upgrade from Rector 1 to 2 (see the commit here).
As you can see it proposes the following diff:
- /**
- * @requires extension zlib
- */
+ #[RequiresExtension('zlib')]Expected Behaviour
PHPUnit does not offer a PHPUnit\Framework\Attributes\RequiresExtension attribute but PHPUnit\Framework\Attributes\RequiresPhpExtension