mirror of
https://github.com/ambieco/laravel-lift.git
synced 2026-05-01 02:21:46 +08:00
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"preset": "laravel",
|
|
"rules": {
|
|
"array_push": true,
|
|
"assign_null_coalescing_to_coalesce_equal": true,
|
|
"combine_consecutive_issets": true,
|
|
"combine_consecutive_unsets": true,
|
|
"concat_space": {
|
|
"spacing": "one"
|
|
},
|
|
"declare_strict_types": true,
|
|
"explicit_indirect_variable": true,
|
|
"explicit_string_variable": true,
|
|
"global_namespace_import": true,
|
|
"method_argument_space": {
|
|
"on_multiline": "ensure_fully_multiline"
|
|
},
|
|
"modernize_strpos": true,
|
|
"modernize_types_casting": true,
|
|
"new_with_braces": true,
|
|
"no_superfluous_elseif": true,
|
|
"no_useless_else": true,
|
|
"nullable_type_declaration_for_default_null_value": true,
|
|
"ordered_imports": {
|
|
"sort_algorithm": "alpha"
|
|
},
|
|
"ordered_class_elements": {
|
|
"order": [
|
|
"use_trait",
|
|
"case",
|
|
"constant",
|
|
"constant_public",
|
|
"constant_protected",
|
|
"constant_private",
|
|
"property_public",
|
|
"property_protected",
|
|
"property_private",
|
|
"construct",
|
|
"destruct",
|
|
"magic",
|
|
"phpunit",
|
|
"method_abstract",
|
|
"method_public_static",
|
|
"method_public",
|
|
"method_protected_static",
|
|
"method_protected",
|
|
"method_private_static",
|
|
"method_private"
|
|
],
|
|
"sort_algorithm": "none"
|
|
},
|
|
"strict_comparison": true,
|
|
"ternary_to_null_coalescing": true,
|
|
"use_arrow_functions": true
|
|
}
|
|
}
|