lint/laravel/no-negated-when
In the code-quality set. Unsafe fix: it can change behaviour. Runs when laravel is installed.
What it does
Reverse conditionable method calls
Configuration
[lint.rules]
"laravel/no-negated-when" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
ReverseConditionableMethodCall(rector-laravel)