build:
environment:
php: 7.0
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
tests: true
checks:
php:
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
no_goto: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true