Repository Config
filter:
excluded_paths:
- 'library/*'
checks:
php:
code_rating: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
use_self_instead_of_fqcn: true
simplify_boolean_return: true
no_goto: true
newline_at_end_of_file: true
function_in_camel_caps: true
fix_line_ending: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
avoid_todo_comments: true
avoid_fixme_comments: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
avoid_unnecessary_concatenation: true
avoid_superglobals: false
coding_style:
php:
spaces:
around_operators:
concatenation: 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