-
Notifications
You must be signed in to change notification settings - Fork 0
/
pint.json
executable file
·156 lines (156 loc) · 4.64 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"preset": "symfony",
"rules": {
"declare_strict_types": true,
"strict_comparison": true,
"php_unit_strict": true,
"strict_param": true,
"final_class": true,
"not_operator_with_space": false,
"nullable_type_declaration_for_default_null_value": false,
"simplified_null_return": true,
"assign_null_coalescing_to_coalesce_equal": true,
"array_push": true,
"explicit_string_variable": true,
"function_typehint_space": true,
"method_chaining_indentation": true,
"native_function_casing": true,
"no_multiple_statements_per_line": true,
"no_short_bool_cast": true,
"no_useless_else": true,
"no_unused_imports": true,
"object_operator_without_whitespace": true,
"no_useless_return": true,
"array_indentation": true,
"trim_array_spaces": true,
"single_line_comment_spacing": true,
"no_trailing_whitespace_in_comment": true,
"standardize_not_equals": true,
"is_null": true,
"ordered_traits": true,
"explicit_indirect_variable": true,
"return_assignment": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"combine_nested_dirname": true,
"comment_to_phpdoc": true,
"get_class_to_class_keyword": true,
"logical_operators": true,
"modernize_strpos": true,
"mb_str_functions": true,
"modernize_types_casting": true,
"multiline_comment_opening_closing": true,
"no_useless_sprintf": true,
"php_unit_construct": true,
"self_accessor": true,
"set_type_to_cast": true,
"void_return": true,
"single_line_empty_body": true,
"phpdoc_param_order": true,
"phpdoc_var_annotation_correct_order": true,
"simplified_if_return": true,
"use_arrow_functions": true,
"phpdoc_line_span": {
"const": "single",
"method": "multi",
"property": "single"
},
"ordered_types": {
"null_adjustment": "always_last",
"sort_algorithm": "alpha"
},
"random_api_migration": {
"replacements": {
"getrandmax" : "mt_getrandmax",
"rand" : "mt_rand",
"srand" : "mt_srand"
}
},
"no_alias_functions": {
"sets": [
"@all",
"@exif",
"@ftp",
"@IMAP",
"@internal",
"@ldap",
"@mbreg",
"@mysqli",
"@oci",
"@odbc",
"@openssl",
"@pcntl",
"@pg",
"@posix",
"@snmp",
"@sodium",
"@time"
]
},
"function_to_constant": {
"functions": [
"get_called_class",
"get_class",
"get_class_this",
"php_sapi_name",
"phpversion",
"pi"
]
},
"self_static_accessor": true,
"ordered_interfaces": {
"direction": "ascend",
"order": "alpha"
},
"phpdoc_align": {
"align": "left"
},
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"yoda_style": {
"equal": false,
"identical": false,
"less_and_greater": false
},
"whitespace_after_comma_in_array": {
"ensure_single_space": true
},
"multiline_whitespace_before_semicolons": {
"strategy": "no_multi_line"
},
"array_syntax": {
"syntax": "short"
},
"single_line_comment_style": {
"comment_types": ["asterisk", "hash"]
},
"align_multiline_comment": {
"comment_type": "phpdocs_only"
},
"types_spaces": {
"space": "none"
},
"no_mixed_echo_print": {
"use": "echo"
},
"control_structure_continuation_position": {
"position": "same_line"
},
"cast_spaces": {
"space": "single"
},
"concat_space": {
"spacing": "one"
},
"no_useless_concat_operator": {
"juggle_simple_strings": true
},
"new_with_braces": {
"anonymous_class": false,
"named_class": true
}
}
}