StyleCI configuration > fix bug "The provided fixer 'concat_with_spaces' cannot be enabled at the same time as 'concat_without_spaces'"

This commit is contained in:
Meritoo
2018-06-16 14:36:33 +02:00
parent fc7df571e2
commit f4c12661b4
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ return PhpCsFixer\Config::create()
], ],
'blank_line_before_return' => false, 'blank_line_before_return' => false,
'cast_spaces' => false, 'cast_spaces' => false,
// "concat_space" instead of "concat_with_spaces" option used by StyleCI // "concat_space" instead of "concat_without_spaces" option used by StyleCI
'concat_space' => [ 'concat_space' => [
'spacing' => 'one', 'spacing' => 'one',
], ],

View File

@@ -1,13 +1,13 @@
preset: symfony preset: symfony
enabled: enabled:
- concat_with_spaces
- phpdoc_add_missing_param_annotation - phpdoc_add_missing_param_annotation
- phpdoc_order - phpdoc_order
disabled: disabled:
- blank_line_before_return - blank_line_before_return
- cast_spaces - cast_spaces
- concat_without_spaces
- phpdoc_align - phpdoc_align
- phpdoc_separation - phpdoc_separation
- phpdoc_summary - phpdoc_summary