generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pint.json
90 lines (90 loc) · 2.07 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
{
"preset": "laravel",
"rules": {
"declare_strict_types": true,
"not_operator_with_successor_space": false,
"binary_operator_spaces": {
"default": "single_space",
"operators": {
"=>": "align_single_space_minimal",
"=": "align_single_space_minimal"
}
},
"ordered_imports": {
"sort_algorithm": "length"
},
"phpdoc_summary": true,
"phpdoc_to_comment": {
"ignored_tags": [
"see"
]
},
"phpdoc_separation": {
"groups": [
[
"deprecated",
"link",
"see",
"since"
],
[
"author",
"copyright",
"license"
],
[
"category",
"package",
"subpackage"
],
[
"property",
"property-read",
"property-write"
],
[
"param"
],
[
"return"
],
[
"throws"
]
]
},
"no_superfluous_phpdoc_tags": {
"allow_mixed": true
},
"phpdoc_line_span": {
"const": "single",
"property": "single"
},
"phpdoc_var_annotation_correct_order": true,
"php_unit_fqcn_annotation": true,
"php_unit_method_casing": {
"case": "snake_case"
},
"void_return": true,
"explicit_string_variable": true,
"method_chaining_indentation": true,
"curly_braces_position": {
"control_structures_opening_brace": "same_line",
"functions_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_functions_opening_brace": "same_line",
"classes_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_classes_opening_brace": "same_line",
"allow_single_line_empty_anonymous_classes": true,
"allow_single_line_anonymous_functions": true
},
"class_attributes_separation": {
"elements": {
"const": "one",
"method": "one",
"property": "none",
"trait_import": "none"
}
},
"new_with_parentheses": true
}
}