lint/phpunit/no-scenario-annotation
Not in any preset. In Rector’s rector-phpunit/composer-based set. Needs the phpunit extension. Safe fix.
What it does
Change @scenario annotation to @test in a test class
Configuration
[lint.rules]
"phpunit/no-scenario-annotation" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
ScenarioToTestAnnotation(rector-phpunit)