{
    "preset": "laravel",
    "rules": {
        "declare_strict_types": false,
        "concat_space": {
            "spacing": "one"
        },
        "array_indentation": true,
        "binary_operator_spaces": {
            "default": "single_space"
        },
        "blank_line_before_statement": {
            "statements": [
                "return",
                "throw",
                "try"
            ]
        },
        "class_attributes_separation": {
            "elements": {
                "const": "one",
                "method": "one",
                "property": "one"
            }
        },
        "ordered_class_elements": {
            "order": [
                "use_trait",
                "case",
                "constant_public",
                "constant_protected",
                "constant_private",
                "property_public",
                "property_protected",
                "property_private",
                "construct",
                "destruct",
                "magic",
                "phpunit",
                "method_public_static",
                "method_protected_static",
                "method_private_static",
                "method_public",
                "method_protected",
                "method_private"
            ]
        },
        "ordered_imports": {
            "sort_algorithm": "alpha",
            "imports_order": [
                "const",
                "class",
                "function"
            ]
        },
        "no_unused_imports": true,
        "no_superfluous_elseif": true,
        "no_useless_else": true,
        "no_multiple_statements_per_line": true,
        "no_extra_blank_lines": {
            "tokens": [
                "extra",
                "throw",
                "use"
            ]
        },
        "no_superfluous_phpdoc_tags": false,
        "no_whitespace_before_comma_in_array": true,
        "trim_array_spaces": true,
        "return_type_declaration": {
            "space_before": "none"
        },
        "type_declaration_spaces": true,
        "single_line_empty_body": true,
        "single_trait_insert_per_statement": true,
        "fully_qualified_strict_types": true,
        "global_namespace_import": {
            "import_classes": true,
            "import_constants": false,
            "import_functions": false
        },
        "modernize_types_casting": true,
        "nullable_type_declaration_for_default_null_value": true,
        "no_empty_comment": true,
        "no_empty_phpdoc": true,
        "phpdoc_align": {
            "align": "vertical"
        },
        "phpdoc_indent": true,
        "phpdoc_no_empty_return": false,
        "phpdoc_order": true,
        "phpdoc_scalar": true,
        "phpdoc_separation": true,
        "phpdoc_single_line_var_spacing": true,
        "phpdoc_trim": true,
        "phpdoc_types_order": {
            "null_adjustment": "always_last",
            "sort_algorithm": "none"
        },
        "trailing_comma_in_multiline": {
            "elements": [
                "arrays",
                "arguments",
                "parameters",
                "match"
            ]
        },
        "cast_spaces": {
            "space": "single"
        },
        "declare_parentheses": true
    },
    "exclude": [
        "node_modules",
        "storage",
        "bootstrap/cache",
        "public",
        "vendor",
        "resources",
        "tests"
    ]
}