Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon-test-lib
Commits
b15b20f7
Unverified
Commit
b15b20f7
authored
Dec 02, 2022
by
abuathier
Committed by
GitHub
Dec 02, 2022
Browse files
update php cs-fixer (#216)
parent
eab4b81d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PhpCsFixer/PhpCsFixerRuleSet.php
View file @
b15b20f7
...
...
@@ -108,9 +108,14 @@ class PhpCsFixerRuleSet
'no_singleline_whitespace_before_semicolons'
=>
true
,
'no_spaces_around_offset'
=>
true
,
'no_superfluous_elseif'
=>
true
,
'no_trailing_comma_in_list_call'
=>
true
,
'no_trailing_comma_in_singleline_array'
=>
true
,
'no_trailing_comma_in_singleline_function_call'
=>
true
,
'no_trailing_comma_in_singleline'
=>
[
'elements'
=>
[
'arguments'
,
'array'
,
'array_destructuring'
,
'group_import'
,
]
],
'no_trailing_whitespace_in_string'
=>
true
,
'no_unneeded_control_parentheses'
=>
true
,
'no_unneeded_curly_braces'
=>
true
,
...
...
@@ -145,7 +150,8 @@ class PhpCsFixerRuleSet
'phpdoc_separation'
=>
true
,
'phpdoc_single_line_var_spacing'
=>
true
,
'phpdoc_summary'
=>
true
,
'phpdoc_to_comment'
=>
true
,
// phpdoc_to_comment is error-prone for inline type-hinting (ex: phpstan, psalm, ...)
'phpdoc_to_comment'
=>
false
,
'phpdoc_to_property_type'
=>
true
,
'phpdoc_to_return_type'
=>
true
,
'phpdoc_trim'
=>
true
,
...
...
@@ -185,6 +191,7 @@ class PhpCsFixerRuleSet
'visibility_required'
=>
true
,
'void_return'
=>
true
,
'whitespace_after_comma_in_array'
=>
true
,
'declare_strict_types'
=>
true
,
];
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment