Checkout Config
checks:
php:
code_rating: true
duplication: true
filter:
paths:
- src/*
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_mess_detector:
config:
ruleset: ./phpmd.xml
php_cs_fixer:
config: { level: psr2 }
external_code_coverage:
runs: 4
timeout: 600
Repository Config
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php: { }
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
coverage:
tests:
override:
- command: ./vendor/bin/phpunit --coverage-clover coverage.xml
coverage:
file: coverage.xml # <- Set this to where we find the coverage data.
# The path is relative to the current directory.
format: clover