Checkout Config
filter:
excluded_paths:
- Tests/*
tools:
external_code_coverage:
timeout: 600
Repository Config
checks:
php:
uppercase_constants: true
function_in_camel_caps: true
avoid_todo_comments: true
parameters_in_camelcaps: true
phpunit_assertions: true
encourage_single_quotes: true
classes_in_camel_caps: true
javascript: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
other:
after_type_cast: false
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
for:
opening: undefined
while:
opening: undefined
do_while:
opening: undefined
switch:
opening: undefined
try:
opening: undefined
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined
Global Config
filter:
excluded_paths:
- 'app/*'
- 'Tests/*'
checks:
php:
uppercase_constants: true
use_self_instead_of_fqcn: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
no_goto: true
fix_use_statements:
remove_unused: true
preserve_multiple: true
preserve_blanklines: true
order_alphabetically: false
classes_in_camel_caps: true
duplication: true
simplify_boolean_return: true
prefer_while_loop_over_for_loop: true
remove_extra_empty_lines: true
encourage_single_quotes: true
avoid_todo_comments: true
avoid_fixme_comments: true
align_assignments: true
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
phpunit_assertions: true
parameter_doc_comments: 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
avoid_unnecessary_concatenation: true
newline_at_end_of_file: true
more_specific_types_in_doc_comments: true
javascript:
no_process_exit: true
no_process_env: true
no_nested_ternary: true
no_extra_bind: true
no_eval: true
no_control_regex: true
consistent_this: true
camelcase: true
no_trailing_spaces: true
no_else_return: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
other:
after_type_cast: false
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
for:
opening: undefined
while:
opening: undefined
do_while:
opening: undefined
switch:
opening: undefined
try:
opening: undefined
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined