Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
filter:
excluded_paths:
- 'bin/*'
- 'docs/*'
- 'tests/*'
checks:
php: true
tools:
external_code_coverage: true
build_failure_conditions:
- 'elements.rating(<= C).exists' # No classes/methods with a rating of C or worse
- 'project.metric("scrutinizer.quality", < 9.8)' # Code Quality Rating drops below 9.8
- 'project.metric("scrutinizer.test_coverage", < 0.95)' # Code Coverage drops below 98%