-
Notifications
You must be signed in to change notification settings - Fork 0
/
pint.json
88 lines (88 loc) · 2.18 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
{
"preset": "laravel",
"rules": {
"binary_operator_spaces": {
"default": "align_single_space_minimal"
},
"class_attributes_separation": {
"elements": {
"method": "one"
}
},
"concat_space": {
"spacing": "one"
},
"global_namespace_import": {
"import_classes": true,
"import_functions": false,
"import_constants": false
},
"no_extra_blank_lines": {
"tokens": [
"attribute",
"break",
"case",
"continue",
"curly_brace_block",
"default",
"extra",
"parenthesis_brace_block",
"return",
"square_brace_block",
"switch",
"throw",
"use",
"use_trait"
]
},
"no_superfluous_phpdoc_tags": true,
"method_argument_space": {
"on_multiline": "ensure_fully_multiline"
},
"method_chaining_indentation": true,
"operator_linebreak": {
"position": "beginning"
},
"ordered_class_elements": {
"order": [
"use_trait",
"constant",
"case",
"property",
"method"
]
},
"phpdoc_align": true,
"phpdoc_separation": {
"groups": [
[
"param"
],
[
"return"
]
]
},
"php_unit_method_casing": {
"case": "snake_case"
},
"return_type_declaration": true,
"simplified_null_return": true,
"single_trait_insert_per_statement": true,
"trailing_comma_in_multiline": {
"elements": [
"parameters",
"arguments"
]
}
},
"exclude": [
".github",
"bootstrap",
"node_modules",
"public",
"resources",
"storage",
"vendor"
]
}