lint/phpunit/prefer-data-provider
In the code-quality set. Safe fix. Runs when phpunit is installed.
What it does
Replace testWith annotation to data provider.
Configuration
[lint.rules]
"phpunit/prefer-data-provider" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
TestWithToDataProvider(rector-phpunit)