Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
uppercase_constants: true
use_self_instead_of_fqcn: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
parameters_in_camelcaps: true
optional_parameters_at_the_end: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
tools:
php_mess_detector: true
php_cs_fixer:
config:
level: psr2
php_code_sniffer:
config:
standard: PSR2
sniffs: { generic: { php: { disallow_short_open_tag_sniff: true } } }
sensiolabs_security_checker: true
php_cpd: true
php_loc: true
php_pdepend: true
coding_style:
php:
indentation:
general:
use_tabs: false
spaces:
around_operators:
bitwise: false