Checkout Config
tools:
external_code_coverage:
timeout: 1200
php_cs_fixer:
config: { level: symfony }
build_failure_conditions:
- 'issues.label("coding-style").exists'
- 'project.metric("scrutinizer.quality", < 9)'
- 'project.metric_change("scrutinizer.test_coverage", < 0)'
Repository Config
filter:
excluded_paths:
- "tests/"
tools:
php_cs_fixer: true
checks:
php:
uppercase_constants: true
use_self_instead_of_fqcn: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
parameters_in_camelcaps: true
no_goto: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false