Checkout Config
filter:
excluded_paths:
- 'Documentation/*'
- 'Tests/*'
- 'Resources/Public/JavaScript/*'
- 'Resources/Private/Solr/*'
paths:
- 'Classes/*'
tools:
php_cpd:
enabled: true
php_code_sniffer:
enabled: true
config:
standard: TYPO3CMS
# we do this on travis
php_cs_fixer:
enabled: false
php_mess_detector:
enabled: true
config:
controversial_rules:
superglobals: false
php_pdepend:
enabled: true
php_analyzer:
enabled: true
dependency_paths:
- 'Resources/Private/Php/*'
external_code_coverage:
runs: 2
timeout: 1800
build_failure_conditions:
- 'patches.label("Doc Comments").count > 10'
- 'patches.label("Spacing").count > 15'
- 'issues.label("coding-style").count > 10'
- 'issues.severity(>= MAJOR).count > 30'
- 'project.metric("scrutinizer.quality", < 8)'
- 'project.metric_change("scrutinizer.test_coverage", < -0.10)'
Repository Config
checks:
php: true
javascript: true
filter:
excluded_paths:
- '*.min.js'
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
build: true