Checkout Config
# language: php
build:
nodes:
analysis:
dependencies:
before:
- composer install --no-dev --no-interaction
tests:
override:
- php-scrutinizer-run
filter:
excluded_paths:
- 'PHPCompatibility/Tests/*'
- 'PHPCompatibility/Util/Tests/*'
dependency_paths:
- 'vendor/'
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
checks:
php: true
build_failure_conditions:
# New issues of major or higher severity
- 'issues.severity(>= MAJOR).new.exists'
# Code Quality Rating drops below 7.5
- 'project.metric("scrutinizer.quality", < 7.5)'
# New classes/methods introduced with a rating of D or worse
- 'elements.rating(<= D).new.exists'
Repository Config
# language: php
# tests: true