format/operators/ternary-spacing
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Standardize spaces around ternary operator.
Configuration
[format.rules]
"operators/ternary-spacing" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
ternary_operator_spaces(php-cs-fixer)