Skip to content

Commit

Permalink
added scr config
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Donat committed Apr 27, 2014
1 parent 9d4e716 commit d67b480
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
before_commands:
- composer install

tools:
php_code_coverage:
enabled: true
test_command: phpunit
php_code_sniffer:
enabled: true
config:
standard: PSR2
filter:
paths: ["src/*", "tests/*"]
php_cpd:
enabled: true
excluded_dirs: ["build/*", "docs", "tests", "vendor"]
php_cs_fixer:
enabled: true
config:
level: all
filter:
paths: ["src/*", "tests/*"]
php_loc:
enabled: true
excluded_dirs: ["build", "docs", "tests", "vendor"]
php_mess_detector:
enabled: true
config:
ruleset: phpmd.xml.dist
design_rules: { eval_expression: false }
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
excluded_dirs: ["build", "docs", "tests", "vendor"]
php_analyzer:
enabled: true
filter:
paths: ["src/*", "tests/*"]
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"type": "library"
}

0 comments on commit d67b480

Please sign in to comment.