Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: { }
coding_style:
php: { }
Global Config
checks:
php:
variable_existence: true
require_scope_for_methods: true
php5_style_constructor: true
no_short_open_tag: true
no_global_keyword: true
no_error_suppression: true
encourage_shallow_comparison: true
closure_use_not_conflicting: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_aliased_php_functions: true
return_doc_comment_if_not_inferrable: true
no_long_variable_names:
maximum: '20'
return_doc_comments: true
simplify_boolean_return: true