Skip to content

Commit

Permalink
update scrutinizer config
Browse files Browse the repository at this point in the history
  • Loading branch information
leedavis81 committed Jun 19, 2014
1 parent 2bb4ff9 commit 838bff5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
20 changes: 20 additions & 0 deletions .scrutinizer-ci.phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
bootstrap="./tests/DrestTests/Bootstrap.php">

<testsuites>
<testsuite name="Drest Test Suite">
<directory>./tests/DrestTests</directory>
</testsuite>
</testsuites>

</phpunit>
26 changes: 12 additions & 14 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,37 @@ before_commands:
tools:
php_code_coverage:
enabled: true
filter:
paths: ['src/']
test_command: phpunit -c .scrutinizer-ci.phpunit.xml.dist
php_code_sniffer:
enabled: true
config:
standard: psr2
standard: PSR2
filter:
paths: ['src/']
paths: ['src/', 'tests/']
php_cpd:
enabled: true
min_lines: 5
min_tokens: 70
names:
- '*.php'
excluded_dirs: ['build', 'examples', 'tests', 'vendor']
php_cs_fixer:
enabled: true
config:
level: psr2
level: all
filter:
paths: ['src/']
paths: ['src/', 'tests/']
php_loc:
enabled: true
excluded_dirs: ['build', 'examples', 'tests', 'vendor']
php_mess_detector:
enabled: true
filter:
paths: ['src/']
php_pdepend:
enabled: true
excluded_dirs: ['build', 'examples', 'tests', 'vendor']
php_analyzer:
enabled: true
filter:
paths: ['src/']
paths: ['src/', 'tests/']
sensiolabs_security_checker:
enabled: true
filter:
paths: ['src/']
filter:
excluded_paths: ['vendor/*', 'tests/*']
enabled: true

0 comments on commit 838bff5

Please sign in to comment.