Checkout Config
filter:
excluded_paths: [tests/*]
tools:
external_code_coverage:
timeout: 600
runs: 3
Global Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
parameters_in_camelcaps: true
newline_at_end_of_file: true
more_specific_types_in_doc_comments: true
line_length:
max_length: '120'
function_in_camel_caps: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
avoid_unnecessary_concatenation: true
avoid_todo_comments: true
avoid_perl_style_comments: true
avoid_fixme_comments: true
avoid_multiple_statements_on_same_line: true
no_goto: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
before_parentheses:
closure_definition: 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