Skip to content

Commit

Permalink
Enabling scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrozucca committed Aug 19, 2016
1 parent dcb170f commit 03b6d81
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
tools:
external_code_coverage: false
php_code_coverage: false
php_code_sniffer:
config: { standard: 'Ecg' }
php_changetracking: false
php_sim: false
php_cs_fixer: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true

filter:
paths:
- 'spec/*'
- 'src/*'
excluded_paths:
# exclude lengthy setup scripts
- 'src/*/Setup/InstallData.php'
- 'src/*/Setup/UpgradeData.php'
- 'src/*/Setup/InstallSchema.php'
- 'src/*/Setup/UpgradeSchema.php'

build:
tests:
override:
- true
cache:
directories: [ vendor/ ]

inherit: true

build_failure_conditions:
- 'elements.rating(<= D).exists'
- 'issues.new.exists'
- 'project.metric("scrutinizer.quality", < 9.4)'

0 comments on commit 03b6d81

Please sign in to comment.