- Added `Choices` component for dropdowns with search and multi-selection functionality. - Implemented foundational classes for service connection: - `ConnectServiceData` - `ConnectedServiceFactory` - `ConnectedServicesService` - Added `ConnectServiceForm` Livewire component for managing service connections. - Introduced shared utility traits (`HasAttributeHelpers`) and error components. - Added components for generic use: `Input` and `ListItem`.
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"preset": "laravel",
|
|
"rules": {
|
|
"declare_strict_types": true,
|
|
"fully_qualified_strict_types": true,
|
|
"group_import": true,
|
|
"single_import_per_statement": false,
|
|
"global_namespace_import": {
|
|
"import_classes": true,
|
|
"import_constants": true,
|
|
"import_functions": true
|
|
},
|
|
"is_null": true,
|
|
"lambda_not_used_import": true,
|
|
"new_with_braces": true,
|
|
"no_empty_comment": true,
|
|
"protected_to_private": true,
|
|
"simplified_if_return": true,
|
|
"strict_comparison": true,
|
|
"ternary_to_null_coalescing": true,
|
|
"trim_array_spaces": true,
|
|
"use_arrow_functions": true,
|
|
"void_return": true,
|
|
"yoda_style": {
|
|
"equal": true,
|
|
"identical": true,
|
|
"less_and_greater": null
|
|
},
|
|
"array_push": true,
|
|
"assign_null_coalescing_to_coalesce_equal": true,
|
|
"explicit_indirect_variable": true,
|
|
"method_argument_space": {
|
|
"on_multiline": "ensure_fully_multiline"
|
|
},
|
|
"modernize_types_casting": true,
|
|
"no_superfluous_elseif": true,
|
|
"no_useless_else": true,
|
|
"nullable_type_declaration_for_default_null_value": true,
|
|
"strict_param": true,
|
|
"date_time_immutable": true,
|
|
"mb_str_functions": true,
|
|
"logical_operators": true,
|
|
"ordered_interfaces": true,
|
|
"ordered_traits": true,
|
|
"php_unit_strict": true,
|
|
"phpdoc_align": {
|
|
"align": "vertical"
|
|
},
|
|
"phpdoc_separation": true,
|
|
"return_type_declaration": {
|
|
"space_before": "none"
|
|
},
|
|
"single_line_throw": false
|
|
}
|
|
}
|