mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-17 11:08:14 +01:00
47 lines
920 B
YAML
47 lines
920 B
YAML
imports:
|
|
- php
|
|
|
|
filter:
|
|
excluded_paths:
|
|
- test/
|
|
- webroot/check*
|
|
- webroot/imgd.php
|
|
- webroot/imgp.php
|
|
- webroot/imgs.php
|
|
- webroot/test/
|
|
|
|
checks:
|
|
php:
|
|
code_rating: true
|
|
duplication: true
|
|
|
|
tools:
|
|
# Copy/Paste Detector
|
|
php_cpd: true
|
|
|
|
# Metrics
|
|
php_pdepend: true
|
|
|
|
# Some Metrics + Bug Detection/Auto-Fixes
|
|
php_analyzer: true
|
|
|
|
php_code_sniffer:
|
|
config:
|
|
standard: "PSR2"
|
|
|
|
php_sim:
|
|
min_mass: 16 # Defaults to 16
|
|
|
|
php_mess_detector:
|
|
#config:
|
|
# ruleset: ../your-phpmd-ruleset/ruleset.xml
|
|
|
|
build:
|
|
tests:
|
|
override:
|
|
-
|
|
command: 'phpunit'
|
|
coverage:
|
|
file: 'coverage.clover'
|
|
format: 'php-clover'
|