Checkout Config
checks:
php: true
filter:
excluded_paths:
- Tests/*
- vendor/*
build:
project_setup:
before:
- mysql -e 'create database t3bot;'
- cp .env.example .env
- composer install
- ./bin/doctrine-migrations --no-interaction migrations:migrate
tests:
override:
-
command: './bin/phpunit -c Build/UnitTests.xml --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'
Repository Config
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
filter: { }
coding_style:
php:
spaces:
around_operators:
concatenation: false
build: true
build:
environment:
php:
version: 7.0