2014-09-07 18:50:09 +00:00
|
|
|
filter:
|
2015-02-18 16:14:11 +00:00
|
|
|
excluded_paths:
|
|
|
|
- tests/*
|
|
|
|
- apigen/*
|
|
|
|
- dummy-data/*
|
|
|
|
- i18n/*
|
2016-04-19 15:59:13 +00:00
|
|
|
- includes/api/legacy/*
|
2017-02-17 11:48:31 +00:00
|
|
|
- includes/legacy/*
|
2015-02-18 16:14:11 +00:00
|
|
|
- includes/libraries/*
|
|
|
|
- includes/updates/*
|
2016-06-06 17:34:16 +00:00
|
|
|
- includes/gateways/simplify-commerce/*
|
|
|
|
- includes/shipping/legacy-*
|
2016-06-07 10:03:16 +00:00
|
|
|
- includes/wc-deprecated-functions.php
|
|
|
|
- includes/class-wc-legacy-api.php
|
2014-09-07 18:50:09 +00:00
|
|
|
|
|
|
|
checks:
|
2015-02-18 16:14:11 +00:00
|
|
|
php:
|
|
|
|
variable_existence: false
|
|
|
|
verify_access_scope_valid: false
|
|
|
|
verify_argument_usable_as_reference: false
|
|
|
|
verify_property_names: false
|
|
|
|
no_global_keyword: false
|
|
|
|
psr2_switch_declaration: false
|
|
|
|
psr2_control_structure_declaration: false
|
|
|
|
psr2_class_declaration: false
|
|
|
|
one_class_per_file: false
|
|
|
|
no_exit: false
|
|
|
|
avoid_superglobals: false
|
|
|
|
avoid_closing_tag: false
|
2014-11-24 14:25:19 +00:00
|
|
|
|
|
|
|
tools:
|
2015-07-16 18:56:58 +00:00
|
|
|
sensiolabs_security_checker: true
|