Repository 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
remove_extra_empty_lines: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
phpunit_assertions: true
parameters_in_camelcaps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
no_goto: true
more_specific_types_in_doc_comments: true
function_in_camel_caps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
encourage_single_quotes: true
classes_in_camel_caps: true
coding_style:
php:
spaces:
before_parentheses:
if: false
for: false
while: false
switch: false
catch: false
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
if:
opening: new-line
always: false
else_on_new_line: true
for:
opening: new-line
always: false
while:
opening: new-line
always: false
do_while:
opening: end-of-line
switch:
opening: new-line
try:
opening: new-line
catch_on_new_line: true
finally_on_new_line: true
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower