Checkout Config
filter:
paths: [src/*]
excluded_paths: [assets/*, tests/*, vendor/*]
before_commands:
- 'composer install --prefer-source'
tools:
sensiolabs_security_checker: true
php_changetracking: true
php_code_coverage: true
php_mess_detector: true
php_analyzer: true
php_pdepend: true
external_code_coverage:
enabled: true
timeout: 1200
php_sim:
min_mass: 30
php_loc:
excluded_dirs: [assets, vendor, tests]
php_cpd:
excluded_dirs: [assets, vendor, tests]
php_code_sniffer:
enabled: true
config:
ruleset: ./standards.xml
checks:
php:
code_rating: true
duplication: true
Repository Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
excluded_paths:
- 'tests/*'
checks:
php:
verify_property_names: true
align_assignments: true
avoid_fixme_comments: true
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true