format/whitespace/inside-parentheses
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Parentheses must be declared using the configured whitespace.
Configuration
[format.rules]
"whitespace/inside-parentheses" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
space |
enum |
none, single |
"none" |
space |
Replaces
spaces_inside_parentheses(php-cs-fixer)