forked from mart1ver/oressource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cs-fixer-config.json
40 lines (40 loc) · 1.12 KB
/
cs-fixer-config.json
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
{
"concat_space": {
"spacing": "one"
},
"braces": {
"allow_single_line_closure": true,
"position_after_functions_and_oop_constructs": "same"
},
"array_syntax": {
"syntax": "short"
},
"elseif": true,
"linebreak_after_opening_tag": false,
"no_closing_tag": true,
"no_trailing_whitespace": true,
"no_useless_else": true,
"no_spaces_inside_parenthesis": true,
"no_unneeded_control_parentheses": ["break", "clone", "continue", "echo_print", "return", "switch_case", "yield"],
"no_unused_imports": true,
"no_useless_return": true,
"return_type_declaration": {
"space_before": "one"
},
"semicolon_after_instruction": true,
"single_blank_line_at_eof": true,
"short_scalar_cast": true,
"single_quote": true,
"strict_comparison": true,
"ternary_operator_spaces": true,
"void_return": true,
"blank_line_after_opening_tag": false,
"lowercase_keywords": true,
"lowercase_constants": true,
"modernize_types_casting": true,
"no_singleline_whitespace_before_semicolons": true,
"no_multiline_whitespace_before_semicolons": true,
"no_mixed_echo_print": {
"use": "echo"
}
}