filter:
excluded_paths:
- 'tests/*'
build:
tests:
override:
-
command: 'phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
checks:
php:
use_self_instead_of_fqcn: true
use_statement_alias_conflict: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
prefer_while_loop_over_for_loop: true
phpunit_assertions: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
overriding_parameter: true
optional_parameters_at_the_end: true
no_short_method_names:
minimum: '3'
no_goto: true
newline_at_end_of_file: true
more_specific_types_in_doc_comments: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
align_assignments: true