Checkout Config
filter:
excluded_paths: ["examples/*", "tests/*"]
checks:
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
coding_style:
php:
indentation:
general:
use_tabs: true
Repository Config
checks:
php:
fix_php_opening_tag: false
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: true
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: true
no_global_keyword: false
avoid_usage_of_logical_operators: true
psr2_class_declaration: false
no_underscore_prefix_in_properties: true
no_underscore_prefix_in_methods: true
blank_line_after_namespace_declaration: true
single_namespace_per_use: true
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: true
security_vulnerabilities: true
no_exit: true
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
remove_extra_empty_lines: true
prefer_while_loop_over_for_loop: true
optional_parameters_at_the_end: true
newline_at_end_of_file: true
encourage_postdec_operator: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_unnecessary_concatenation: true
avoid_fixme_comments: true
filter: { }
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
build: true