Checkout Config
filter:
excluded_paths:
- 'vendor/*'
before_commands:
- 'composer install --prefer-source'
tools:
php_analyzer: true
php_mess_detector: true
php_code_sniffer:
config:
standard: PSR2
sensiolabs_security_checker: true
php_loc:
excluded_dirs:
- vendor
php_pdepend: true
php_sim: true
build_failure_conditions:
- 'elements.rating(< B).new.exists'
- 'issues.label("coding-style").new.exists'
- 'issues.severity(>= MAJOR).new.exists'
- 'project.metric("scrutinizer.quality", < 6)'
Repository Config
# language: php