refactor:拆分 API 路由与请求校验,统一 final 类和代码风格
This commit is contained in:
29
pint.json
Normal file
29
pint.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"preset": "laravel",
|
||||
"rules": {
|
||||
"declare_strict_types": false,
|
||||
"final_class": true,
|
||||
"final_public_method_for_abstract_class": true,
|
||||
"ordered_imports": {
|
||||
"sort_algorithm": "length"
|
||||
},
|
||||
"no_extra_blank_lines": {
|
||||
"tokens": [
|
||||
"attribute",
|
||||
"break",
|
||||
"case",
|
||||
"continue",
|
||||
"curly_brace_block",
|
||||
"default",
|
||||
"extra",
|
||||
"parenthesis_brace_block",
|
||||
"return",
|
||||
"square_brace_block",
|
||||
"switch",
|
||||
"throw",
|
||||
"use",
|
||||
"use_trait"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user