Skip to content

Commit

Permalink
Create .scrutinizer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinusso authored Oct 23, 2017
1 parent 85e9ce7 commit e6b539d
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 @@
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
filter:
excluded_paths:
- "vendor/*"
- "tests/*"
paths:
- "src/*"
tools:
php_analyzer: true
php_changetracking: true
php_code_sniffer:
enabled: true
config:
standard: PSR2
php_cpd: true
php_mess_detector: true
php_pdepend: true
php_sim: true
build:
dependencies:
before:
- "sudo composer self-update"
override:
- "composer install --no-interaction --prefer-dist"
tests:
override:
-
command: './vendor/bin/phpunit -c phpunit.xml --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'php-clover'

0 comments on commit e6b539d

Please sign in to comment.