Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php:
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
build:
environment:
php:
version: '7.0'
tests:
before:
- command: 'cp .travis_app_local_mysql.txt config/app_local.php'
override:
-
command: 'vendor/bin/phpunit --coverage-clover=scrutinizer-clover.txt'
coverage:
file: 'scrutinizer-clover.txt'
format: 'clover'
project_setup:
before:
- mysql -e "CREATE DATABASE fc;"
- mysql -e "CREATE DATABASE test_fc;"