before_commands: - "composer install --no-interaction" tools: php_sim: false php_changetracking: true php_cpd: true php_mess_detector: true php_code_sniffer: true php_analyzer: true sensiolabs_security_checker: true php_code_coverage: false php_pdepend: excluded_dirs: [vendor, doc] filter: excluded_paths: [vendor/*, doc/*] build_failure_conditions: - 'elements.rating(<= C).exists' # No classes/methods with a rating of C or worse - 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse - 'patches.label("Doc Comments").exists' # No doc comments patches allowed - 'patches.label("Spacing").new.count > 1' # More than 1 new spacing patch - 'issues.label("coding-style").exists' # No coding style issues allowed - 'issues.label("coding-style").new.exists' # No new coding style issues allowed - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity - 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9
# language: php