File size: 2,339 Bytes
5f32fbd | 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 | {
"preset": "laravel",
"rules": {
"phpdoc_no_empty_return": false,
"single_trait_insert_per_statement": true,
"binary_operator_spaces": {
"default": "single_space",
"operators": {
"=>": "align",
"|": "no_space"
}
},
"not_operator_with_space": false,
"blank_line_before_statement": {
"statements": [
"break",
"continue",
"declare",
"return",
"throw",
"try"
]
},
"concat_space": {
"spacing": "one"
},
"no_trailing_comma_in_singleline": {
"elements": [
"arguments",
"array_destructuring",
"array",
"group_import"
]
},
"phpdoc_annotation_without_dot": true,
"phpdoc_trim_consecutive_blank_line_separation": false,
"phpdoc_var_annotation_correct_order": true,
"blank_lines_before_namespace": {
"min_line_breaks": 2,
"max_line_breaks": 2
},
"visibility_required": {
"elements": [
"property",
"method",
"const"
]
},
"global_namespace_import": {
"import_classes": true,
"import_constants": null,
"import_functions": null
},
"phpdoc_order": {
"order": [
"noinspection",
"deprecated",
"author",
"copyright",
"license",
"see",
"link",
"todo",
"example",
"property",
"method",
"api",
"template",
"phpstan-template",
"param",
"phpstan-param",
"phpstan-return",
"return",
"throws"
]
},
"phpdoc_separation": {
"groups": [
[
"noinspection"
],
[
"deprecated",
"link",
"see",
"since"
],
[
"author",
"copyright",
"license"
],
[
"category",
"package",
"subpackage"
],
[
"throws"
],
[
"property",
"property-read",
"property-write"
],
[
"phpstan-template",
"template",
"param",
"phpstan-param"
],
[
"phpstan-return",
"return"
]
]
}
}
} |