Update PHP-CS-Fixer configuration

This commit is contained in:
Sebastian Bergmann 2021-08-30 08:21:17 +02:00
parent ec2d2094c1
commit 8e367cdc8b
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,6 @@ $config->setFinder($finder)
'operators' => [
'=' => 'align_single_space_minimal',
'=>' => 'align_single_space_minimal',
// Workaround for https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5495
'|' => null,
],
],
'blank_line_after_namespace' => true,
@ -284,6 +282,9 @@ $config->setFinder($finder)
]
],
'trim_array_spaces' => true,
'types_spaces' => [
'space' => 'none',
],
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => [