Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
-
command: 'vendor/bin/phpunit --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php:
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
no_long_variable_names:
maximum: '20'
return_doc_comment_if_not_inferrable: true
return_doc_comments: true
simplify_boolean_return: true
coding_style:
php:
spaces:
other:
after_type_cast: false