Skip to content

Commit

Permalink
Add scrutinizer-ci.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Sep 30, 2013
1 parent 4ee892b commit 5bea8bc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/tests export-ignore
/.coveralls.yml export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/Guardfile export-ignore
/LICENSE.md export-ignore
Expand Down
28 changes: 28 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
before_commands:
- 'composer install --prefer-source --no-interaction --dev'
filter:
paths:
- 'src/*'
excluded_paths:
- 'build/*'
- 'vendor/*'
- 'tests/*'
tools:
php_mess_detector: true
php_code_sniffer:
config:
standard: PSR1
php_code_coverage:
config_path: phpunit.xml
php_cpd:
excluded_dirs:
- vendor
- tests
php_loc:
excluded_dirs:
- vendor
- tests
php_pdepend:
excluded_dirs:
- vendor
- tests

0 comments on commit 5bea8bc

Please sign in to comment.