mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-28 04:45:06 +01:00
Add missing fixers from PHP CS
Also adjust editorconfig and order php-cs.
This commit is contained in:
parent
1f46823942
commit
b4293f5467
3 changed files with 7 additions and 5 deletions
|
@ -38,6 +38,6 @@ indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[.travis.yml]
|
[*.yml]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 2
|
||||||
|
|
6
.php_cs
6
.php_cs
|
@ -15,9 +15,9 @@ return Symfony\CS\Config\Config::create()
|
||||||
->fixers(['concat_with_spaces', 'long_array_syntax', 'standardize_not_equal',
|
->fixers(['concat_with_spaces', 'long_array_syntax', 'standardize_not_equal',
|
||||||
'operators_spaces', 'duplicate_semicolon',
|
'operators_spaces', 'duplicate_semicolon',
|
||||||
'remove_leading_slash_use', 'align_equals',
|
'remove_leading_slash_use', 'align_equals',
|
||||||
'single_array_no_trailing_comma', 'phpdoc_indent', 'phpdoc_scalar',
|
'single_array_no_trailing_comma', 'phpdoc_indent', 'phpdoc_order',
|
||||||
'phpdoc_to_comment', 'phpdoc_trim',
|
'phpdoc_scalar', 'phpdoc_to_comment', 'phpdoc_trim',
|
||||||
'phpdoc_types', 'print_to_echo', 'self_accessor', 'single_quote',
|
'phpdoc_types', 'print_to_echo', 'self_accessor', 'single_quote',
|
||||||
'spaces_cast', 'ternary_spaces', 'phpdoc_order'])
|
'spaces_cast', 'ternary_spaces'])
|
||||||
->finder($finder)
|
->finder($finder)
|
||||||
;
|
;
|
||||||
|
|
|
@ -5,6 +5,8 @@ risky: false
|
||||||
enabled:
|
enabled:
|
||||||
- no_empty_comment
|
- no_empty_comment
|
||||||
- align_equals
|
- align_equals
|
||||||
|
- long_array_syntax
|
||||||
|
- concat_with_spaces
|
||||||
|
|
||||||
disabled:
|
disabled:
|
||||||
- blank_line_after_opening_tag
|
- blank_line_after_opening_tag
|
||||||
|
|
Loading…
Reference in a new issue