build:
tests:
override:
- command: vendor/bin/phpunit
coverage:
file: /tmp/coverage.xml
format: clover
nodes:
tests-php72:
environment:
php: 7.2
tests-php73:
environment:
php: 7.3
analysis:
tests:
override:
- php-scrutinizer-run
build_failure_conditions:
- 'elements.rating(<= D).exists' # No classes/methods with a rating of D or worse
- 'issues.severity(>= MAJOR).exists' # Issues of major or higher severity