checks: php: duplication: false unused_methods: true unused_parameters: true argument_type_checks: true verify_property_names: true method_calls_on_non_object: true fix_doc_comments: true instanceof_class_exists: true catch_class_exists: true assignment_of_null_return: true use_statement_alias_conflict: true simplify_boolean_return: true return_doc_comments: true return_doc_comment_if_not_inferrable: true properties_in_camelcaps: true parameter_doc_comments: true phpunit_assertions: true param_doc_comment_if_not_inferrable: true overriding_parameter: true optional_parameters_at_the_end: true no_short_variable_names: minimum: '3' no_short_method_names: minimum: '3' no_long_variable_names: maximum: '20' no_goto: true line_length: max_length: '140' function_in_camel_caps: true encourage_single_quotes: true classes_in_camel_caps: true avoid_perl_style_comments: true avoid_multiple_statements_on_same_line: true align_assignments: true uppercase_constants: true variable_existence: true fix_use_statements: remove_unused: true preserve_multiple: true preserve_blanklines: false order_alphabetically: true check_method_contracts: verify_interface_like_constraints: true verify_documented_constraints: true verify_parent_constraints: true avoid_unnecessary_concatenation: true use_self_instead_of_fqcn: true prefer_while_loop_over_for_loop: true parameters_in_camelcaps: true newline_at_end_of_file: true fix_line_ending: true code_rating: true avoid_todo_comments: true avoid_fixme_comments: true more_specific_types_in_doc_comments: true coding_style: php: indentation: general: size: 1 spaces: around_operators: concatenation: true build: environment: php: version: 7.0.17 # Common versions: 5.4, 5.5, 5.6, 7.0 or hhvm tests: override: - command: 'composer coverage' coverage: file: 'coverage' format: 'clover'