Checkout Config
before_commands:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_code_sniffer:
config:
standard: WordPress
external_code_coverage:
timeout: 1200
runs: 1
filter:
excluded_paths:
- 'tests/*'
Repository Config
checks:
php:
fix_php_opening_tag: false
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: false
avoid_usage_of_logical_operators: false
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: false
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
negation: true
build:
dependencies:
before:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_code_sniffer:
config:
standard: WordPress
external_code_coverage:
timeout: 1200
runs: 1
filter:
excluded_paths:
- 'tests/*'