Files
UNIT3D-Community-Edition/pint.json
2024-05-23 13:58:29 +00:00

91 lines
2.2 KiB
JSON

{
"preset": "psr12",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"blank_line_before_statement": {
"statements": [
"break",
"continue",
"declare",
"do",
"exit",
"for",
"foreach",
"goto",
"if",
"include",
"include_once",
"phpdoc",
"require",
"require_once",
"return",
"switch",
"throw",
"try",
"while",
"yield",
"yield_from"
]
},
"cast_spaces": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"concat_space": true,
"declare_parentheses": true,
"declare_strict_types": true,
"explicit_string_variable": true,
"fully_qualified_strict_types": true,
"function_typehint_space": true,
"global_namespace_import": true,
"is_null": true,
"lambda_not_used_import": true,
"logical_operators": true,
"method_chaining_indentation": true,
"modernize_strpos": true,
"multiline_comment_opening_closing": true,
"new_with_braces": true,
"no_blank_lines_after_phpdoc": true,
"no_empty_comment": true,
"no_extra_blank_lines": {
"tokens": [
"attribute",
"break",
"case",
"curly_brace_block",
"default",
"extra",
"parenthesis_brace_block",
"return",
"square_brace_block",
"switch",
"use"
]
},
"not_operator_with_space": false,
"no_superfluous_elseif": true,
"no_unused_imports": true,
"no_useless_else": true,
"no_useless_sprintf": true,
"ordered_traits": true,
"phpdoc_align": true,
"phpdoc_order": true,
"phpdoc_scalar": true,
"phpdoc_summary": true,
"phpdoc_trim": true,
"simplified_if_return": true,
"simplified_null_return": true,
"ternary_to_null_coalescing": true,
"use_arrow_functions": true,
"void_return": true,
"native_function_invocation": true,
"binary_operator_spaces": {
"operators": {
"=>": "align_single_space_minimal"
}
}
}
}