Checkout Config
build:
environment:
php:
version: 7.0
tests:
override:
-
command: phpunit --coverage-clover=coverage.clover
coverage:
file: coverage.clover
format: php-clover
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
code_rating: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_doc_comments: true
coding_style:
php:
indentation:
general:
size: 3
spaces:
around_operators:
concatenation: true
negation: true
tools:
external_code_coverage:
timeout: 600
runs: 3
build: true