lint/laravel/prefer-throw-if
Not in any set. Unsafe fix: it can change behaviour. Runs when laravel is installed.
What it does
Change if throw to throw_if
Configuration
[lint.rules]
"laravel/prefer-throw-if" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
ThrowIf(rector-laravel)