Global Config
imports:
- php
filter:
excluded_paths:
- Test/*
- Tests/*
- vendor/*
build:
environment:
php:
version: 5.6
tests:
override:
-
command: 'phpunit --coverage-clover=current-coverage'
coverage:
file: 'current-coverage'
format: 'php-clover'
checks:
php:
variable_existence: true
verify_access_scope_valid: true
verify_argument_usable_as_reference: true
verify_property_names: true
use_statement_alias_conflict: true
uppercase_constants: true
unused_variables: true
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
require_php_tag_first: true
php5_style_constructor: true
parameters_in_camelcaps: true
no_short_open_tag: true
no_debug_code: true
lowercase_php_keywords: true
lowercase_basic_constants: true
code_rating: true