Skip to content

Commit

Permalink
Set scrutinizer to only look at library code
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed May 1, 2014
1 parent 90d1f24 commit e2605fe
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
before_commands:
- "composer install --prefer-source"

inherit: true
filter:
paths:
- UAS/Parser.php

tools:
# Code Coverage
external_code_coverage:
enabled: true
timeout: 300
filter:
excluded_paths:
- 'vendor/*'
- 'Tests/*'


php_code_coverage:
enabled: false
test_command: phpunit
filter:
excluded_paths:
- 'vendor/*'
- 'Tests/*'


# Code Sniffer
Expand All @@ -27,17 +24,12 @@ tools:
command: phpcs
config:
standard: PSR2
filter:
excluded_paths:
- 'vendor/*'


# Copy/Paste Detector
php_cpd:
enabled: true
command: phpcpd
excluded_dirs:
- 'vendor'


# PHP CS Fixer (http://http://cs.sensiolabs.org/).
Expand All @@ -46,17 +38,12 @@ tools:
command: php-cs-fixer
config:
level: psr2
filter:
excluded_paths:
- 'vendor/*'


# Analyzes the size and structure of a PHP project.
php_loc:
enabled: true
command: phploc
excluded_dirs:
- vendor


# PHP Mess Detector (http://phpmd.org).
Expand All @@ -70,24 +57,16 @@ tools:
- naming
- design
- controversial
filter:
excluded_paths:
- 'vendor/*'


# Analyzes the size and structure of a PHP project.
php_pdepend:
enabled: true
command: pdepend
excluded_dirs:
- vendor

# Runs Scrutinizer's PHP Analyzer Tool
php_analyzer:
enabled: true
filter:
excluded_paths:
- 'vendor/*'

# Security Advisory Checker
sensiolabs_security_checker: true
sensiolabs_security_checker: true

0 comments on commit e2605fe

Please sign in to comment.