Checkout Config
before_commands:
- "composer install --prefer-dist"
filter:
excluded_paths: ["vendor/*", "tests/*"]
build_failure_conditions:
- 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse
- 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
- 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }