Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'examples/*'
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
properties_in_camelcaps: true
phpunit_assertions: true
parameters_in_camelcaps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
overriding_parameter: true
optional_parameters_at_the_end: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
build:
tests:
override:
-
command: './vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=clover-coverage.xml ./tests/'
coverage:
file: 'clover-coverage.xml'
format: 'clover'