-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpint.json
75 lines (75 loc) · 2.19 KB
/
pint.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"preset": "symfony",
"rules": {
"not_operator_with_space": false,
"simplified_null_return": true,
"assign_null_coalescing_to_coalesce_equal": true,
"array_push": true,
"explicit_string_variable": true,
"function_typehint_space": true,
"method_chaining_indentation": true,
"native_function_casing": true,
"no_multiple_statements_per_line": true,
"no_short_bool_cast": true,
"no_useless_else": true,
"no_unused_imports": true,
"object_operator_without_whitespace": true,
"no_useless_return": true,
"array_indentation": true,
"trim_array_spaces": true,
"single_line_comment_spacing": true,
"no_trailing_whitespace_in_comment": true,
"standardize_not_equals": true,
"is_null": true,
"phpdoc_align": {
"align": "left"
},
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"yoda_style": {
"equal": false,
"identical": false,
"less_and_greater": false
},
"whitespace_after_comma_in_array": {
"ensure_single_space": true
},
"multiline_whitespace_before_semicolons": {
"strategy": "no_multi_line"
},
"array_syntax": {
"syntax": "short"
},
"single_line_comment_style": {
"comment_types": ["asterisk", "hash"]
},
"align_multiline_comment": {
"comment_type": "phpdocs_only"
},
"types_spaces": {
"space": "none"
},
"no_mixed_echo_print": {
"use": "echo"
},
"control_structure_continuation_position": {
"position": "same_line"
},
"cast_spaces": {
"space": "single"
},
"concat_space": {
"spacing": "one"
},
"no_useless_concat_operator": {
"juggle_simple_strings": true
},
"new_with_braces": {
"anonymous_class": false,
"named_class": true
}
}
}