This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pint.json
100 lines (100 loc) · 3.08 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
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"preset": "laravel",
"rules": {
"indentation_type": true,
"array_indentation": true,
"not_operator_with_space": false,
"not_operator_with_successor_space": false,
"class_reference_name_casing": true,
"clean_namespace": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"compact_nullable_typehint": true,
"declare_parentheses": true,
"elseif": true,
"explicit_string_variable": true,
"function_typehint_space": true,
"linebreak_after_opening_tag": true,
"lowercase_cast": true,
"lowercase_keywords": true,
"lowercase_static_reference": true,
"magic_constant_casing": true,
"magic_method_casing": true,
"mb_str_functions": true,
"native_function_casing": true,
"native_function_type_declaration_casing": true,
"no_closing_tag": true,
"no_empty_phpdoc": true,
"no_empty_statement": true,
"no_multiline_whitespace_around_double_arrow": true,
"no_multiple_statements_per_line": true,
"no_short_bool_cast": true,
"no_singleline_whitespace_before_semicolons": true,
"no_space_around_double_colon": true,
"no_spaces_after_function_name": true,
"no_spaces_inside_parenthesis": true,
"no_trailing_whitespace": true,
"no_trailing_whitespace_in_comment": true,
"no_unused_imports": true,
"no_blank_lines_after_class_opening": false,
"normalize_index_brace": true,
"object_operator_without_whitespace": true,
"semicolon_after_instruction": true,
"short_scalar_cast": true,
"simple_to_complex_string_variable": true,
"simplified_if_return": false,
"single_blank_line_before_namespace": true,
"single_line_after_imports": true,
"single_line_comment_spacing": true,
"standardize_not_equals": true,
"statement_indentation": true,
"ternary_to_null_coalescing": true,
"trim_array_spaces": true,
"unary_operator_spaces": true,
"blank_line_before_statement": {
"statements": ["declare"]
},
"single_import_per_statement": {
"group_to_single_imports": false
},
"no_extra_blank_lines": {
"tokens": ["square_brace_block", "use"]
},
"concat_space": {
"spacing": "one"
},
"whitespace_after_comma_in_array": {
"ensure_single_space": true
},
"types_spaces": {
"space": "none",
"space_multiple_catch": "single"
},
"ordered_imports": {
"sort_algorithm": "alpha",
"imports_order": ["class", "function", "const"]
},
"no_alternative_syntax": {
"fix_non_monolithic_code": false
},
"echo_tag_syntax": {
"format": "short"
},
"braces": {
"position_after_functions_and_oop_constructs": "same",
"allow_single_line_closure": true,
"allow_single_line_anonymous_class_with_empty_body": true
},
"curly_braces_position": {
"functions_opening_brace": "same_line",
"classes_opening_brace": "same_line",
"allow_single_line_anonymous_functions": true,
"allow_single_line_empty_anonymous_classes": true
}
},
"exclude": [
"config",
"docs",
"src/Constants"
]
}