-
Notifications
You must be signed in to change notification settings - Fork 20
/
pint.json
108 lines (108 loc) · 3.67 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"preset": "psr12",
"exclude": [
"config",
"build"
],
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": {
"syntax": "short"
},
"assign_null_coalescing_to_coalesce_equal": true,
"binary_operator_spaces" : {
"operators": {
"=>": "align_single_space_minimal"
}
},
"blank_line_before_statement": {
"statements": [
"break",
"continue",
"declare",
"return",
"throw",
"try",
"while",
"for",
"foreach",
"if"
]
},
"cast_spaces": true,
"class_attributes_separation": {
"elements": {
"method": "one"
}
},
"clean_namespace": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"declare_strict_types": true,
"doctrine_annotation_indentation": true,
"doctrine_annotation_spaces": true,
"fully_qualified_strict_types": true,
"function_typehint_space": true,
"global_namespace_import": true,
"heredoc_indentation": true,
"include": true,
"lambda_not_used_import": true,
"linebreak_after_opening_tag": true,
"list_syntax": true,
"magic_constant_casing": true,
"magic_method_casing": true,
"method_argument_space": {
"on_multiline": "ensure_fully_multiline",
"keep_multiple_spaces_after_comma": true
},
"method_chaining_indentation": true,
"multiline_comment_opening_closing": true,
"multiline_whitespace_before_semicolons": true,
"native_function_casing": true,
"native_function_type_declaration_casing": true,
"no_alias_language_construct_call": true,
"no_alternative_syntax": true,
"no_empty_comment": true,
"no_empty_statement": true,
"no_extra_blank_lines": true,
"no_leading_namespace_whitespace": true,
"no_mixed_echo_print": true,
"no_multiline_whitespace_around_double_arrow": true,
"no_multiple_statements_per_line": true,
"no_singleline_whitespace_before_semicolons": true,
"no_spaces_around_offset": true,
"no_unneeded_import_alias": true,
"no_unused_imports": true,
"no_whitespace_before_comma_in_array": true,
"no_whitespace_in_blank_line": true,
"not_operator_with_space": true,
"not_operator_with_successor_space": true,
"php_unit_fqcn_annotation": true,
"phpdoc_line_span": {
"const": "single",
"method": "single",
"property": "single"
},
"phpdoc_scalar": true,
"phpdoc_single_line_var_spacing": true,
"phpdoc_var_without_name": true,
"simple_to_complex_string_variable": true,
"simplified_if_return": true,
"single_quote": true,
"standardize_not_equals": true,
"trailing_comma_in_multiline": true,
"trim_array_spaces": true,
"types_spaces": true,
"unary_operator_spaces": true,
"whitespace_after_comma_in_array": true,
"braces" : {
"allow_single_line_anonymous_class_with_empty_body": false,
"allow_single_line_closure": false,
"position_after_anonymous_constructs": "same",
"position_after_control_structures": "same",
"position_after_functions_and_oop_constructs": "next"
},
"concat_space": true
}
}