build: nodes: analysis: project_setup: override: - 'true' tests: override: - php-scrutinizer-run - phpcs-run --standard=phpcs.xml filter: excluded_paths: - 'tests/*' checks: php: true tools: external_code_coverage: true build_failure_conditions: - 'elements.rating(<= D).exists' # No classes/methods with a rating of D or worse - 'elements.rating(<= B).new.exists' # No new classes/methods with a rating of D or worse # allowed (useful for legacy code) - 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9 - 'project.metric("scrutinizer.test_coverage", < 0.80)' # Code Coverage drops below 80% # Code Coverage decreased from previous inspection - 'project.metric_change("scrutinizer.test_coverage", < -0.02)'