lint/laravel/prefer-date-shorthand
Not in any preset. Needs the laravel extension. Unsafe fix: it can change behavior.
What it does
Replace date comparison where clauses with Laravel query builder shorthand methods.
Configuration
[lint.rules]
"laravel/prefer-date-shorthand" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
DateWhereClauseToShorthand(rector-laravel)