-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpint.json
More file actions
35 lines (35 loc) · 1.14 KB
/
pint.json
File metadata and controls
35 lines (35 loc) · 1.14 KB
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
{
"preset": "laravel",
"rules": {
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"blank_line_before_statement": {
"statements": ["break", "continue", "declare", "return", "throw", "try"]
},
"braces": {
"allow_single_line_anonymous_class_with_empty_body": true,
"allow_single_line_closure": true,
"position_after_anonymous_constructs": "next",
"position_after_control_structures": "same",
"position_after_functions_and_oop_constructs": "next"
},
"class_attributes_separation": {
"elements": {
"method": "one"
}
},
"concat_space": {
"spacing": "one"
},
"declare_strict_types": true,
"no_unused_imports": true,
"not_operator_with_successor_space": true,
"ordered_imports": {
"sort_algorithm": "alpha"
},
"phpdoc_scalar": true,
"phpdoc_single_line_var_spacing": true,
"phpdoc_var_without_name": true,
"single_trait_insert_per_statement": true
}
}