generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpint.json
51 lines (51 loc) · 1.52 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
{
"preset": "psr12",
"rules": {
"@PHP81Migration": true,
"@PHP80Migration:risky": true,
"array_syntax":
{
"syntax": "short"
},
"ordered_imports":
{
"sort_algorithm": "alpha"
},
"no_unused_imports": true,
"not_operator_with_successor_space": true,
"trailing_comma_in_multiline": true,
"phpdoc_scalar": true,
"unary_operator_spaces": true,
"blank_line_before_statement":
{
"statements": ["break", "continue", "declare", "return", "throw", "try"]
},
"phpdoc_single_line_var_spacing": true,
"phpdoc_var_without_name": true,
"method_argument_space":
{
"on_multiline": "ensure_fully_multiline",
"keep_multiple_spaces_after_comma": true
},
"self_accessor": true,
"single_import_per_statement": true,
"no_empty_comment": true,
"no_useless_else": true,
"declare_strict_types": true,
"use_arrow_functions": false,
"no_superfluous_phpdoc_tags":
{
"allow_mixed": false,
"remove_inheritdoc": false,
"allow_unused_params": false
},
"no_trailing_comma_in_singleline_array": true,
"whitespace_after_comma_in_array": true,
"no_whitespace_before_comma_in_array": true,
"no_multiline_whitespace_around_double_arrow": true
},
"notName": [
"*.blade.php",
"*.stub.php"
]
}