format/casts/lowercase
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Cast should be written in lower case.
Configuration
[format.rules]
"casts/lowercase" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
lowercase_cast(php-cs-fixer)