lint/phpunit/require-size
Not in any set. Safe fix. Runs when phpunit is installed.
What it does
All PHPUnit test cases should have @small, @medium or @large annotation to enable run time limits.
Configuration
[lint.rules]
"phpunit/require-size" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
group |
enum |
small, medium, large |
"small" |
group |
Replaces
php_unit_size_class(php-cs-fixer)