-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpint.json
48 lines (48 loc) · 1.91 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
{
"preset": "laravel",
"rules": {
"array_push": true,
"backtick_to_shell_exec": true,
"braces": {
"allow_single_line_anonymous_class_with_empty_body": true,
"allow_single_line_closure": true,
"position_after_control_structures": "same",
"position_after_functions_and_oop_constructs": "next",
"position_after_anonymous_constructs": "next"
},
"curly_braces_position": {
"control_structures_opening_brace": "same_line",
"functions_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_functions_opening_brace": "same_line",
"classes_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_classes_opening_brace": "next_line_unless_newline_at_signature_end",
"allow_single_line_empty_anonymous_classes": false,
"allow_single_line_anonymous_functions": false
},
"compact_nullable_typehint": true,
"date_time_immutable": true,
"declare_strict_types": true,
"fully_qualified_strict_types": true,
"function_typehint_space": true,
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"lowercase_keywords": true,
"lowercase_static_reference": true,
"mb_str_functions": true,
"modernize_types_casting": true,
"native_function_type_declaration_casing": true,
"no_spaces_inside_parenthesis": true,
"no_unneeded_curly_braces": true,
"no_useless_else": true,
"no_multiple_statements_per_line": true,
"ordered_interfaces": true,
"ordered_traits": true,
"statement_indentation": false,
"self_accessor": true,
"self_static_accessor": true,
"visibility_required": true
}
}