Repository Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
checks:
php:
avoid_closing_tag: true
use_self_instead_of_fqcn: true
uppercase_constants: true
return_doc_comments: true
simplify_boolean_return: 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
no_goto: true
fix_line_ending: true
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
avoid_todo_comments: true
avoid_perl_style_comments: true
avoid_multiple_statements_on_same_line: true
avoid_fixme_comments: true
coding_style:
php:
spaces:
around_operators:
concatenation: false
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