Checkout Config
build:
environment:
php: '5.4.41'
tests:
before:
- 'phpunit'
filter:
excluded_paths: [vendor/*, Tests/*]
checks:
php:
code_rating: true
duplication: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
coding_style:
php:
spaces:
around_operators:
additive: false
concatenation: false
tools:
external_code_coverage: true
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:
enabled: true
excluded_dirs: [vendor, tests]
Repository Config
filter:
excluded_paths: [vendor/*, Tests/*]
checks:
php:
code_rating: true
duplication: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
coding_style:
php:
spaces:
around_operators:
additive: false
concatenation: false
tools:
external_code_coverage: true
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:
enabled: true
excluded_dirs: [vendor, tests]