Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
uppercase_constants: true
simplify_boolean_return: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
optional_parameters_at_the_end: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
function_in_camel_caps: true
encourage_postdec_operator: true
avoid_todo_comments: true
avoid_multiple_statements_on_same_line: true
avoid_fixme_comments: true
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower