Pint Strict Preset Save

Pint strict preset is an insanely defensive coding style preset for those who demand meticulous precision in their projects.

Project README

Pint Strict Preset


Pint strict preset is an insanely defensive coding style preset for those who demand meticulous precision in their projects. To use it, simply create a pint.json file with the following contents:

{
    "preset": "laravel",
    "rules": {
        "array_push": true,
        "backtick_to_shell_exec": true,
        "declare_strict_types": true,
        "final_class": true,
        "fully_qualified_strict_types": true,
        "global_namespace_import": {
            "import_classes": true,
            "import_constants": true,
            "import_functions": true
        },
        "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"
        },
        "ordered_interfaces": true,
        "ordered_traits": true,
        "protected_to_private": true,
        "strict_comparison": true
    }
}
Open Source Agenda is not affiliated with "Pint Strict Preset" Project. README Source: nunomaduro/pint-strict-preset
Stars
60
Open Issues
0
Last Commit
2 months ago

Open Source Agenda Badge

Open Source Agenda Rating