mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-16 18:48:14 +01:00
improving useage of travis & scrutinizer
This commit is contained in:
parent
41089833ca
commit
a8e1718208
@ -2,9 +2,13 @@ imports:
|
||||
- php
|
||||
|
||||
filter:
|
||||
paths:
|
||||
- ./C*.php
|
||||
- webroot/img.php
|
||||
excluded_paths:
|
||||
- test/
|
||||
- webroot/check*
|
||||
- webroot/imgd.php
|
||||
- webroot/imgp.php
|
||||
- webroot/imgs.php
|
||||
- webroot/test/
|
||||
|
||||
checks:
|
||||
php:
|
||||
@ -13,25 +17,25 @@ checks:
|
||||
|
||||
tools:
|
||||
# Copy/Paste Detector
|
||||
php_cpd: true
|
||||
|
||||
# Metrics
|
||||
php_pdepend: true
|
||||
|
||||
php_cpd: true
|
||||
|
||||
# Metrics
|
||||
php_pdepend: true
|
||||
|
||||
# Some Metrics + Bug Detection/Auto-Fixes
|
||||
php_analyzer: true
|
||||
|
||||
php_code_sniffer:
|
||||
config:
|
||||
standard: "PSR2"
|
||||
|
||||
php_sim:
|
||||
php_analyzer: true
|
||||
|
||||
php_code_sniffer:
|
||||
config:
|
||||
standard: "PSR2"
|
||||
|
||||
php_sim:
|
||||
min_mass: 16 # Defaults to 16
|
||||
|
||||
php_mess_detector:
|
||||
|
||||
php_mess_detector:
|
||||
#config:
|
||||
# ruleset: ../your-phpmd-ruleset/ruleset.xml
|
||||
|
||||
|
||||
build:
|
||||
tests:
|
||||
override:
|
||||
|
Loading…
x
Reference in New Issue
Block a user