forked from beikeshop/beikeshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpint.json
56 lines (56 loc) · 1.64 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
{
"preset": "laravel",
"rules": {
"braces": false,
"array_syntax": {
"syntax": "short"
},
"ordered_imports": true,
"no_useless_else": true,
"no_useless_return": true,
"self_accessor": true,
"php_unit_construct": true,
"single_quote": true,
"no_unused_imports": true,
"no_singleline_whitespace_before_semicolons": true,
"no_empty_statement": true,
"no_whitespace_in_blank_line": true,
"combine_consecutive_unsets": true,
"concat_space": {
"spacing": "one"
},
"array_indentation": true,
"no_superfluous_phpdoc_tags": false,
"blank_line_before_statement": {
"statements": ["break", "continue", "declare", "return", "throw", "try"]
},
"binary_operator_spaces": {
"default": "align_single_space"
},
"lowercase_cast": false,
"constant_case": {
"case": "lower"
},
"lowercase_static_reference": true,
"no_blank_lines_after_class_opening": true,
"phpdoc_separation": false,
"phpdoc_single_line_var_spacing": true,
"phpdoc_indent": true,
"phpdoc_align": {
"align": "vertical",
"tags": ["param", "throws", "type", "var", "property"]
},
"visibility_required": {
"elements": ["const", "method", "property"]
},
"single_line_after_imports": true,
"whitespace_after_comma_in_array": true
},
"exclude": [
"database",
"beike/Hook"
],
"notName": [
"server.php"
]
}