Skip to content

Commit

Permalink
Update scrutinizer config
Browse files Browse the repository at this point in the history
  • Loading branch information
chadicus committed Nov 22, 2017
1 parent 3fb0f07 commit d83d35c
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
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
sensiolabs_security_checker: true
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)'

0 comments on commit d83d35c

Please sign in to comment.