diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 59f462b..22c365a 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,15 +1,12 @@ filter: excluded_paths: - 'vendor/*' - - 'tests/*' before_commands: - 'composer install --prefer-source' -checks: - php: - custom_coding_standard: - git_repository: 'https://github.com/chadicus/coding-standard' - git_version: '971fac1625463a72df0034fbfdd263561f2ccb4f' - ruleset_path: 'Chadicus/ruleset.xml' +build: + tests: + override: + - phpcs-run --standard=./vendor/chadicus/coding-standard/Chadicus/ruleset.xml tools: php_analyzer: true php_mess_detector: true @@ -17,11 +14,10 @@ tools: php_loc: excluded_dirs: - vendor - - tests 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' + - 'elements.rating(< B).new.exists' + - 'issues.label("coding-style").new.exists' + - 'issues.severity(>= MAJOR).new.exists' - 'project.metric("scrutinizer.quality", < 6)'