-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpint.json
More file actions
126 lines (126 loc) · 3.34 KB
/
pint.json
File metadata and controls
126 lines (126 loc) · 3.34 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"preset": "psr12",
"rules": {
"array_indentation": true,
"array_push": true,
"binary_operator_spaces": {
"default": "single_space"
},
"blank_line_before_statement": {
"statements": [
"break",
"case",
"continue",
"do",
"for",
"foreach",
"if",
"return",
"switch",
"throw",
"try",
"while"
]
},
"cast_spaces": true,
"class_attributes_separation": true,
"concat_space": true,
"date_time_immutable": true,
"declare_strict_types": true,
"fully_qualified_strict_types": {
"import_symbols": true
},
"general_phpdoc_tag_rename": {
"replacements": {
"inheritdocs": "inheritDoc"
}
},
"global_namespace_import": true,
"lambda_not_used_import": true,
"lowercase_keywords": true,
"method_chaining_indentation": true,
"modernize_types_casting": true,
"multiline_whitespace_before_semicolons": true,
"no_empty_comment": true,
"no_extra_blank_lines": {
"tokens": ["extra", "throw", "use"]
},
"no_multiple_statements_per_line": true,
"no_superfluous_elseif": true,
"no_trailing_comma_in_singleline_array": true,
"no_unneeded_import_alias": true,
"no_unused_imports": true,
"no_useless_else": true,
"no_whitespace_before_comma_in_array": true,
"not_operator_with_successor_space": true,
"nullable_type_declaration": {
"syntax": "union"
},
"object_operator_without_whitespace": true,
"ordered_class_elements": {
"order": [
"use_trait",
"case",
"constant",
"constant_public",
"constant_protected",
"constant_private",
"property_public",
"property_protected",
"property_private",
"construct",
"destruct",
"method_abstract",
"method_public_static",
"method_public",
"method_protected_static",
"method_protected",
"method_private_static",
"method_private",
"magic"
],
"sort_algorithm": "alpha"
},
"ordered_imports": {
"imports_order": ["const", "function", "class"],
"sort_algorithm": "alpha"
},
"ordered_interfaces": true,
"ordered_traits": true,
"ordered_types": true,
"phpdoc_add_missing_param_annotation": true,
"phpdoc_align": {
"align": "left",
"spacing": 1
},
"phpdoc_indent": true,
"phpdoc_inline_tag_normalizer": true,
"phpdoc_line_span": true,
"phpdoc_no_useless_inheritdoc": true,
"phpdoc_order": {
"order": ["param", "return", "throws"]
},
"phpdoc_param_order": true,
"phpdoc_scalar": true,
"phpdoc_separation": true,
"phpdoc_summary": true,
"phpdoc_tag_casing": true,
"phpdoc_trim": true,
"phpdoc_trim_consecutive_blank_line_separation": true,
"phpdoc_types_order": true,
"phpdoc_var_annotation_correct_order": true,
"phpdoc_var_without_name": true,
"protected_to_private": true,
"self_accessor": true,
"self_static_accessor": true,
"single_import_per_statement": false,
"single_quote": true,
"strict_param": true,
"trailing_comma_in_multiline": {
"elements": ["arrays"]
},
"trim_array_spaces": true,
"unary_operator_spaces": true,
"whitespace_after_comma_in_array": true
}
}