-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpint.json
More file actions
93 lines (93 loc) · 2.15 KB
/
pint.json
File metadata and controls
93 lines (93 loc) · 2.15 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
{
"preset": "laravel",
"exclude": [
"docker",
"deployment",
"public",
"storage",
"vendor",
"node_modules",
"bootstrap/cache"
],
"rules": {
"backtick_to_shell_exec": true,
"blank_line_before_statement": {
"statements": ["break", "case", "continue", "declare", "return", "throw", "try"]
},
"braces_position": {
"classes_opening_brace": "same_line",
"anonymous_classes_opening_brace": "same_line",
"anonymous_functions_opening_brace": "same_line",
"functions_opening_brace": "same_line"
},
"concat_space": {
"spacing": "one"
},
"date_time_immutable": true,
"declare_strict_types": true,
"fully_qualified_strict_types": true,
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"increment_style": {
"style": "post"
},
"lowercase_keywords": true,
"lowercase_static_reference": true,
"mb_str_functions": true,
"modernize_types_casting": true,
"new_with_parentheses": true,
"no_multiple_statements_per_line": true,
"no_superfluous_elseif": true,
"no_superfluous_phpdoc_tags": {
"allow_mixed": true,
"allow_unused_params": true
},
"no_useless_else": true,
"ordered_class_elements": {
"order": [
"use_trait",
"case",
"constant",
"constant_public",
"constant_protected",
"constant_private",
"property_public",
"property_protected",
"property_private",
"construct",
"destruct",
"magic",
"phpunit",
"method_abstract",
"method_public_static",
"method_public",
"method_protected_static",
"method_protected",
"method_private_static",
"method_private"
],
"sort_algorithm": "none"
},
"ordered_interfaces": true,
"ordered_traits": true,
"phpdoc_separation": {
"groups": [
["deprecated", "link", "see", "since"],
["author", "copyright", "license"],
["category", "package", "subpackage"],
["property", "property-read", "property-write"],
["param"],
["throws"],
["return"]
]
},
"protected_to_private": true,
"self_accessor": true,
"self_static_accessor": true,
"strict_comparison": true,
"visibility_required": true
}
}