-
Notifications
You must be signed in to change notification settings - Fork 0
/
pint.json
77 lines (77 loc) · 2.3 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
{
"preset": "laravel",
"rules": {
"header_comment": {
"header": "This file is part of fab2s/laravel-dt0.\n(c) Fabrice de Stefanis / https://github.com/fab2s/laravel-dt0\nThis source file is licensed under the MIT license which you will\nfind in the LICENSE file or at https://opensource.org/licenses/MIT"
},
"assign_null_coalescing_to_coalesce_equal": true,
"binary_operator_spaces": {
"default": "align_single_space_minimal"
},
"class_definition": true,
"blank_lines_before_namespace": true,
"align_multiline_comment": true,
"class_attributes_separation": {
"elements": {
"method": "one",
"const": "only_if_meta",
"property": "only_if_meta",
"trait_import": "only_if_meta"
}
},
"concat_space": {
"spacing": "one"
},
"global_namespace_import": {
"import_classes": true,
"import_functions": false,
"import_constants": false
},
"no_superfluous_phpdoc_tags": true,
"method_argument_space": {
"on_multiline": "ensure_fully_multiline"
},
"method_chaining_indentation": true,
"multiline_whitespace_before_semicolons": {
"strategy": "new_line_for_chained_calls"
},
"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": [
"vendor"
]
}