Repository Config
checks:
php:
duplication: true
javascript: true
filter:
excluded_paths:
build:
environment:
mysql: 5.5 # 5.5 or 5.6 or 5.7
postgresql: false
mongodb: false # Version 2
elasticsearch: 1 # 1 or 2
redis: false
memcached: true
neo4j: false # Version 3
rabbitmq: false
dependencies:
before:
- mysql -uroot -e 'CREATE DATABASE test'
tests:
override:
-
command: 'phpunit -c phpunit.xml'
coverage:
file: 'build/logs/clover.xml'
format: 'clover'
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
constants:
true_false_null: lower