Checkout Config
filter:
excluded_paths:
- 'tests/*'
- 'tests-integration/*'
- 'examples/*'
tools:
php_sim:
min_mass: 30
checks:
php:
duplication: false
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
build:
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=log/coverage.xml'
coverage:
file: 'log/coverage.xml'
format: 'clover'
environment:
mysql: false
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
rabbitmq: false
variables:
MONGODB_HOST: 'localhost:27017'
MONGODB_DATABASE: 'foo'
MONGODB_USERNAME: 'bar'
MONGODB_PASSWORD: 'foobar'
Repository Config
filter:
excluded_paths:
- 'tests/*'
tools:
php_sim:
min_mass: 30
checks:
php:
duplication: false
properties_in_camelcaps: true
parameters_in_camelcaps: true
newline_at_end_of_file: true
encourage_single_quotes: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: false
verify_parent_constraints: true
avoid_todo_comments: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
avoid_fixme_comments: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
build:
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=log/coverage.xml'
coverage:
file: 'log/coverage.xml'
format: 'clover'
environment:
mysql: false
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
rabbitmq: false