Created
January 4, 2024 17:02
-
-
Save anuzpandey/e4bec40c0a16ffb9bce160681ffb5435 to your computer and use it in GitHub Desktop.
Laravel Pint Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"preset": "psr12", | |
"rules": { | |
"is_null": true, | |
"declare_strict_types": true, | |
"strict_comparison": true, | |
"no_unused_imports": true, | |
"explicit_string_variable": true, | |
"native_function_casing": true, | |
"native_function_type_declaration_casing": true, | |
"ternary_to_null_coalescing": true, | |
"array_indentation": true, | |
"trim_array_spaces": true, | |
"combine_consecutive_issets": true, | |
"combine_consecutive_unsets": true, | |
"no_multiline_whitespace_around_double_arrow": true, | |
"fully_qualified_strict_types": true, | |
"method_chaining_indentation": true, | |
"php_unit_method_casing": { | |
"case": "camel_case" | |
}, | |
"php_unit_test_annotation": { | |
"style": "prefix" | |
}, | |
"global_namespace_import": { | |
"import_classes": true | |
}, | |
"standardize_not_equals": true, | |
"no_empty_phpdoc": true, | |
"constant_case": { | |
"case": "lower" | |
}, | |
"array_syntax": { | |
"syntax": "short" | |
}, | |
"concat_space": { | |
"spacing": "one" | |
}, | |
"list_syntax": { | |
"syntax": "short" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment