forked from Okipa/laravel-table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pint.json
64 lines (64 loc) · 1.93 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
{
"preset": "laravel",
"rules": {
"Laravel/laravel_phpdoc_alignment": false,
"array_push": true,
"assign_null_coalescing_to_coalesce_equal": true,
"combine_consecutive_issets": true,
"concat_space": {
"spacing": "one"
},
"explicit_indirect_variable": true,
"explicit_string_variable": true,
"global_namespace_import": true,
"heredoc_indentation": true,
"heredoc_to_nowdoc": false,
"mb_str_functions": true,
"multiline_comment_opening_closing": true,
"new_with_braces": true,
"no_superfluous_phpdoc_tags": true,
"no_useless_else": true,
"nullable_type_declaration": {
"syntax": "union"
},
"ordered_class_elements": {
"order": [
"use_trait",
"case",
"constant_public",
"constant_protected",
"constant_private",
"property_public",
"property_protected",
"property_private",
"construct",
"destruct",
"magic",
"phpunit"
]
},
"php_unit_construct": true,
"php_unit_method_casing": {
"case": "snake_case"
},
"php_unit_test_annotation": {
"style": "annotation"
},
"phpdoc_align": {
"align": "left"
},
"phpdoc_line_span": {
"const": "single",
"property": "single",
"method": "single"
},
"random_api_migration": true,
"return_assignment": true,
"simple_to_complex_string_variable": true,
"simplified_if_return": true,
"single_line_comment_spacing": true,
"single_trait_insert_per_statement": true,
"ternary_to_null_coalescing": true,
"visibility_required": true
}
}