Checkout Config
build:
environment:
php:
version: '7.1'
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'clover'
checks:
php:
psr2_switch_declaration: true
psr2_class_declaration: true
no_short_open_tag: true
deprecated_code_usage: true
code_rating: true
filter:
excluded_paths:
- bin/
- tests/
tools:
php_code_sniffer:
config:
standard: PSR2
Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true