format/types/compact-nullable
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Remove extra spaces in a nullable type declaration.
Configuration
[format.rules]
"types/compact-nullable" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
compact_nullable_type_declaration(php-cs-fixer)