Checkout Config
build:
environment:
php:
version: 7.1
tests:
override:
-
command: 'composer build-code-coverage-clover'
coverage:
file: 'output/code-coverage/clover.xml'
format: 'clover'
Repository Config
filter:
paths:
- '*.php'
checks:
php:
uppercase_constants: true
properties_in_camelcaps: true
no_short_variable_names:
minimum: '3'
no_short_method_names:
minimum: ''
no_goto: true
newline_at_end_of_file: true
line_length:
max_length: '120'
fix_line_ending: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
remove_extra_empty_lines: true
parameter_doc_comments: true
return_doc_comments: true
phpunit_assertions: true
return_doc_comment_if_not_inferrable: true
parameters_in_camelcaps: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
no_new_line_at_end_of_file: true
function_in_camel_caps: true
encourage_single_quotes: true
avoid_perl_style_comments: true
align_assignments: true
coding_style:
php:
spaces:
around_operators:
concatenation: false
braces:
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower