More complete scrunitizer file

This commit is contained in:
Laurent Destailleur 2014-04-28 03:04:39 +02:00
parent 4a23a8a789
commit 767ee56446

View File

@ -4,19 +4,82 @@ imports:
- php - php
filter: filter:
excluded_paths: [build/*, dev/*, doc/*, test/*, htdocs/includes/*] excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
tools: tools:
# Similar Code Detector # Similar code detection
php_sim: true php_sim:
enabled: true
min_mass: 16
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
# Metrics # php_depend
php_pdepend: true php_pdepend:
enabled: true
configuration_file: null
suffixes:
- php
excluded_dirs: { }
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
# Some Metrics + Bug Detection/Auto-Fixes # php_analyzer
php_analyzer: true php_analyzer:
enabled: true
extensions:
- php
dependency_paths: { }
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
path_configs: { }
# change tracking
php_changetracking:
enabled: true
bug_patterns:
- '\bfix(?:es|ed)?\b'
feature_patterns:
- '\badd(?:s|ed)?\b'
- '\bimplement(?:s|ed)?\b'
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
# Coding-Style / Bug Detection # Coding-Style / Bug Detection
js_hint: true js_hint: true
## Overwrite as needed here.
before_commands: { }
after_commands: { }
artifacts: { }
build_failure_conditions: { }