Skip to content

Instantly share code, notes, and snippets.

@SerhiiCho
Last active February 16, 2023 12:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Configuration file for Laravel Pint
{
"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