lint/phpunit/no-negated-assertion
In the code-quality set. Safe fix. Runs when phpunit is installed.
What it does
Turns not-operator comparisons to their method name alternatives in PHPUnit TestCase
Configuration
[lint.rules]
"phpunit/no-negated-assertion" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AssertNotOperator(rector-phpunit)