-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpint.json
87 lines (87 loc) · 2.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
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
{
"preset": "laravel",
"rules": {
"align_multiline_comment": {
"comment_type": "phpdocs_like"
},
"array_indentation": true,
"array_syntax": {
"syntax": "short"
},
"binary_operator_spaces": {
"operators": {
"=": "align_single_space_minimal",
"=>": "align_single_space_minimal_by_scope"
}
},
"blank_line_before_statement": {
"statements": [
"break",
"case",
"continue",
"declare",
"default",
"do",
"exit",
"for",
"foreach",
"goto",
"if",
"include",
"include_once",
"phpdoc",
"require",
"require_once",
"return",
"switch",
"throw",
"try",
"while",
"yield",
"yield_from"
]
},
"braces": {
"allow_single_line_anonymous_class_with_empty_body": false,
"allow_single_line_closure": false,
"position_after_anonymous_constructs": "same",
"position_after_control_structures": "same",
"position_after_functions_and_oop_constructs": "next"
},
"cast_spaces": {
"space": "single"
},
"clean_namespace": true,
"concat_space": {
"spacing": "one"
},
"declare_strict_types": true,
"fully_qualified_strict_types": true,
"global_namespace_import": {
"import_classes": true
},
"lambda_not_used_import": true,
"method_argument_space": {
"keep_multiple_spaces_after_comma": false,
"on_multiline": "ensure_fully_multiline"
},
"method_chaining_indentation": true,
"no_empty_comment": true,
"no_unused_imports": true,
"not_operator_with_successor_space": true,
"nullable_type_declaration_for_default_null_value": {
"use_nullable_type_declaration": true
},
"ordered_imports": {
"sort_algorithm": "alpha"
},
"phpdoc_align": {
"align": "vertical"
},
"single_line_comment_spacing": true,
"new_with_parentheses": {
"anonymous_class": false,
"named_class": true
}
}
}