-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpint.json
More file actions
129 lines (129 loc) · 3.95 KB
/
pint.json
File metadata and controls
129 lines (129 loc) · 3.95 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
127
128
129
{
"preset": "per",
"exclude": [
"tests"
],
"notPath": [
"rector.php"
],
"rules": {
"ordered_imports": {
"imports_order": [
"class",
"function",
"const"
],
"sort_algorithm": "alpha"
},
"no_unused_imports": true,
"class_attributes_separation": {
"elements": {
"trait_import": "none",
"case": "one",
"const": "one",
"property": "one",
"method": "one"
}
},
"ordered_class_elements": {
"order": [
"use_trait",
"case",
"constant_public",
"constant_protected",
"constant_private",
"constant",
"property_public_static",
"property_protected_static",
"property_private_static",
"property_static",
"property_public_readonly",
"property_protected_readonly",
"property_private_readonly",
"property_public_abstract",
"property_protected_abstract",
"property_public",
"property_protected",
"property_private",
"property",
"construct",
"destruct",
"magic",
"phpunit",
"method_public_abstract_static",
"method_protected_abstract_static",
"method_private_abstract_static",
"method_public_abstract",
"method_protected_abstract",
"method_private_abstract",
"method_abstract",
"method_public_static",
"method_public",
"method_protected_static",
"method_protected",
"method_private_static",
"method_private",
"method_static",
"method"
],
"sort_algorithm": "alpha"
},
"blank_line_after_opening_tag": true,
"no_alias_functions": true,
"multiline_whitespace_before_semicolons": true,
"no_trailing_whitespace": true,
"blank_line_before_statement": {
"statements": [
"break",
"continue",
"declare",
"return",
"throw",
"try"
]
},
"phpdoc_align": {
"align": "left"
},
"binary_operator_spaces": {
"default": "single_space"
},
"concat_space": {
"spacing": "one"
},
"cast_spaces": true,
"unary_operator_spaces": true,
"ternary_operator_spaces": true,
"array_indentation": true,
"trim_array_spaces": true,
"method_argument_space": {
"on_multiline": "ensure_fully_multiline"
},
"trailing_comma_in_multiline": {
"elements": [
"arrays",
"arguments",
"parameters",
"match"
]
},
"single_quote": true,
"single_line_empty_body": true,
"no_multiple_statements_per_line": true,
"no_extra_blank_lines": true,
"no_whitespace_in_blank_line": true,
"single_blank_line_at_eof": true,
"statement_indentation": true,
"control_structure_braces": true,
"control_structure_continuation_position": true,
"declare_parentheses": true,
"declare_strict_types": true,
"lowercase_keywords": true,
"constant_case": true,
"lowercase_static_reference": true,
"native_function_casing": true,
"nullable_type_declaration_for_default_null_value": true,
"no_superfluous_phpdoc_tags": true,
"phpdoc_trim": true
}
}