lint/phpunit/require-protected-setup
Not in any set. Unsafe fix: it can change behaviour. Runs when phpunit is installed.
What it does
Changes the visibility of the setUp() and tearDown() functions of PHPUnit to protected, to match the PHPUnit TestCase.
Configuration
[lint.rules]
"phpunit/require-protected-setup" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
php_unit_set_up_tear_down_visibility(php-cs-fixer, risky)