-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpint.json
More file actions
86 lines (86 loc) · 2.53 KB
/
pint.json
File metadata and controls
86 lines (86 loc) · 2.53 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
{
"preset": "laravel",
"exclude": [
"tests/Fixtures"
],
"rules": {
"@PHP7x1Migration": true,
"@PHP7x3Migration": true,
"@PHP7x4Migration": true,
"@PHP8x0Migration": true,
"@PHP8x1Migration": true,
"@PHP8x2Migration": true,
"concat_space": {
"spacing": "one"
},
"blank_line_before_statement": {
"statements": [
"declare",
"phpdoc",
"continue",
"return"
]
},
"class_attributes_separation": {
"elements": {
"case": "none",
"const": "none",
"method": "one",
"property": "one",
"trait_import": "none"
}
},
"class_definition": {
"multi_line_extends_each_single_line": true,
"single_item_single_line": true,
"single_line": true,
"space_before_parenthesis": true
},
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"braces_position": {
"allow_single_line_anonymous_functions": true,
"allow_single_line_empty_anonymous_classes": true,
"anonymous_classes_opening_brace": "same_line"
},
"escape_implicit_backslashes": {
"double_quoted": true,
"heredoc_syntax": true,
"single_quoted": false
},
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"multiline_comment_opening_closing": true,
"no_superfluous_elseif": true,
"no_useless_else": true,
"operator_linebreak": {
"only_booleans": false
},
"ordered_types": {
"null_adjustment": "always_last",
"sort_algorithm": "alpha"
},
"phpdoc_line_span": {
"const": "single",
"method": "multi",
"property": "single"
},
"return_assignment": true,
"simplified_if_return": true,
"phpdoc_param_order": true,
"fully_qualified_strict_types": true,
"declare_strict_types": true,
"types_spaces": {
"space_multiple_catch": "none"
},
"binary_operator_spaces": {
"default": "align_single_space_minimal"
},
"php_unit_method_casing": {
"case": "camel_case"
}
}
}