Checkout Config
checks:
php:
excluded_dependencies:
- advanced-custom-fields/advanced-custom-fields-pro
filter:
excluded_paths:
- scripts/
Repository Config
filter:
excluded_paths:
- 'vendor/*'
- 'bin/*'
- 'scripts/'
checks:
php:
excluded_dependencies:
- advanced-custom-fields/advanced-custom-fields-pro
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
javascript:
var_sometimes_initialized: true
var_never_initialized: true
no_param_assign: true
no_loop_var_assign: true
no_implicit_undefined_return: true
no_else_return: true
no_alert: true
eqeqeq: true
coding_style:
php:
indentation:
general:
size: 4