Repository Config
build:
nodes:
coverage:
tests:
override:
- command: composer install && ./vendor/bin/phpunit -vvv
coverage:
file: build/logs/clover.xml
format: clover
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
Global Config
# tools
tools:
external_code_coverage: true
php_mess_detector: true
php_code_sniffer: true
sensiolabs_security_checker: true
# php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
# filter
filter:
excluded_paths:
- 'tests/*'
# coding style
coding_style:
php:
spaces:
general:
linefeed_character: return-newline
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
negation: true
braces:
classes_functions:
class: new-line
function: new-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:
keywords:
general: lower
constants:
true_false_null: lower
checks:
php:
verify_property_names: false