Checkout Config
checks:
php:
code_rating: true
duplication: true
filter:
paths: [src/*]
excluded_paths: [vendor/*, tests/*]
before_commands:
- 'composer install --dev --prefer-source'
tools:
external_code_coverage:
timeout: 600
runs: 3
php_mess_detector: true
php_code_sniffer: true
sensiolabs_security_checker: true
php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
php_cpd: false
Repository Config
filter:
excluded_paths:
- 'test/*'
checks:
php:
avoid_fixme_comments: true
align_assignments: true
avoid_todo_comments: true
avoid_unnecessary_concatenation: true
classes_in_camel_caps: true
encourage_postdec_operator: true
encourage_single_quotes: true
fix_line_ending: true
coding_style:
php:
indentation:
general:
use_tabs: true