-
Notifications
You must be signed in to change notification settings - Fork 19
/
pint.json
91 lines (91 loc) · 2.42 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
91
{
"preset": "psr12",
"exclude": [
"storage"
],
"rules": {
"binary_operator_spaces": {
"operators": {
"=>": "align_single_space_minimal"
}
},
"new_with_braces": {
"anonymous_class": false
},
"braces_position": {
"allow_single_line_empty_anonymous_classes": false
},
"array_syntax": {
"syntax": "short"
},
"multiline_whitespace_before_semicolons": {
"strategy": "no_multi_line"
},
"echo_tag_syntax": {
"format": "short"
},
"trailing_comma_in_multiline": {
"elements": [
"arrays"
]
},
"no_unused_imports": true,
"phpdoc_indent": true,
"phpdoc_align": true,
"phpdoc_order": true,
"phpdoc_separation": true,
"phpdoc_scalar": true,
"phpdoc_trim": true,
"single_quote": true,
"ordered_imports": {
"sort_algorithm": "alpha"
},
"array_indentation": true,
"no_superfluous_phpdoc_tags": true,
"whitespace_after_comma_in_array": true,
"concat_space": {
"spacing": "one"
},
"no_extra_blank_lines": {
"tokens": [
"attribute",
"case",
"continue",
"curly_brace_block",
"default",
"extra",
"parenthesis_brace_block",
"square_brace_block",
"switch",
"throw",
"use"
]
},
"class_attributes_separation": {
"elements": {
"method": "one"
}
},
"unary_operator_spaces": true,
"not_operator_with_successor_space": true,
"method_chaining_indentation": true,
"nullable_type_declaration_for_default_null_value": true,
"no_empty_phpdoc": true,
"blank_line_before_statement": {
"statements": [
"return"
]
},
"no_alternative_syntax": true,
"yoda_style" : {
"equal": false,
"identical": false,
"less_and_greater": false
},
"include": true,
"increment_style": {
"style": "post"
},
"phpdoc_no_package": true
}
}