lint/laravel/no-collection-aliases
In the lint-strict preset. In Rector’s rector-laravel/laravel-collection set. Needs the laravel extension. Unsafe fix: it can change behavior.
What it does
Use the base collection methods instead of their aliases.
Configuration
[lint.rules]
"laravel/no-collection-aliases" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UnaliasCollectionMethods(rector-laravel)