lint/laravel/prefer-blank-filled
Not in any preset. Needs the laravel extension. Unsafe fix: it can change behavior.
What it does
Replace use of the unsafe empty() function with Laravel’s safer blank() & filled() functions.
Configuration
[lint.rules]
"laravel/prefer-blank-filled" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
EmptyToBlankAndFilledFunc(rector-laravel)