build: cache: directories: - vendor/ # Without prefix, the path is relative to your repository root. filter: excluded_paths: - 'tests/*' checks: php: code_rating: true duplication: true verify_property_names: true verify_argument_usable_as_reference: true phpunit_assertions: true fix_use_statements: remove_unused: true preserve_multiple: false preserve_blanklines: true order_alphabetically: false avoid_fixme_comments: true avoid_todo_comments: true avoid_multiple_statements_on_same_line: true classes_in_camel_caps: true line_length: max_length: '150' avoid_aliased_php_functions: true avoid_duplicate_types: true use_self_instead_of_fqcn: true uppercase_constants: true simplify_boolean_return: true return_doc_comments: true remove_extra_empty_lines: true parameters_in_camelcaps: true properties_in_camelcaps: true optional_parameters_at_the_end: true no_goto: true newline_at_end_of_file: true more_specific_types_in_doc_comments: true function_in_camel_caps: true fix_line_ending: true encourage_postdec_operator: true align_assignments: true coding_style: php: spaces: before_parentheses: if: false for: false while: false switch: false catch: false around_operators: concatenation: true negation: true braces: classes_functions: class: new-line function: new-line closure: end-of-line if: opening: new-line else_on_new_line: true for: opening: new-line while: opening: new-line do_while: opening: new-line while_on_new_line: true switch: opening: new-line try: opening: new-line catch_on_new_line: true finally_on_new_line: true upper_lower_casing: keywords: general: lower constants: true_false_null: lower