-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.php_cs
More file actions
49 lines (48 loc) · 1.35 KB
/
.php_cs
File metadata and controls
49 lines (48 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::NONE_LEVEL)
->fixers(
[
// Symfony level
'psr0',
'encoding',
'short_tag',
'braces',
'elseif',
'eof_ending',
'function_declaration',
'indentation',
'line_after_namespace',
'linefeed',
'lowercase_constants',
'lowercase_keywords',
'multiple_use',
'php_closing_tag',
'trailing_spaces',
'visibility',
//'concat_without_spaces',
'duplicate_semicolon',
'extra_empty_lines',
'include',
'multiline_array_trailing_comma',
'namespace_no_leading_whitespace',
'new_with_braces',
'object_operator',
'operators_spaces',
'phpdoc_params',
'remove_lines_between_uses',
'return',
'single_array_no_trailing_comma',
'spaces_before_semicolon',
'spaces_cast',
'standardize_not_equal',
'ternary_spaces',
'unused_use',
'whitespacy_lines',
// Custom
'ordered_use',
'short_array_syntax',
'concat_with_spaces',
]
)
;