Skip to content

Instantly share code, notes, and snippets.

@staylor
Created June 27, 2014 16:22
Show Gist options
  • Save staylor/954c29a2ea84cc7c024c to your computer and use it in GitHub Desktop.
Save staylor/954c29a2ea84cc7c024c to your computer and use it in GitHub Desktop.
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'src/wp-admin/includes/class-ftp*'
- src/wp-admin/includes/class-pclzip.php
- 'src/wp-content/*'
- 'src/wp-includes/ID3/*'
- 'src/wp-includes/SimplePie/*'
- 'src/wp-includes/Text/*'
- src/wp-includes/atomlib.php
- src/wp-includes/class-IXR.php
- src/wp-includes/class-json.php
- src/wp-includes/class-phpass.php
- src/wp-includes/class-phpmailer.php
- src/wp-includes/class-pop3.php
- src/wp-includes/class-smtp.php
- src/wp-includes/class-snoopy.php
- src/wp-includes/kses.php
- src/wp-includes/rss.php
paths: { }
tools:
php_sim:
enabled: true
min_mass: 16
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'app/*'
- 'bin/*'
- 'library/*'
paths: { }
php_pdepend:
enabled: true
configuration_file: null
suffixes:
- php
excluded_dirs: { }
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'app/*'
- 'bin/*'
- 'library/*'
paths: { }
php_analyzer:
enabled: true
extensions:
- php
dependency_paths: { }
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'src/wp-admin/includes/class-ftp*'
- src/wp-admin/includes/class-pclzip.php
- 'src/wp-content/*'
- 'src/wp-includes/ID3/*'
- 'src/wp-includes/SimplePie/*'
- 'src/wp-includes/Text/*'
- src/wp-includes/atomlib.php
- src/wp-includes/class-IXR.php
- src/wp-includes/class-json.php
- src/wp-includes/class-phpass.php
- src/wp-includes/class-phpmailer.php
- src/wp-includes/class-pop3.php
- src/wp-includes/class-smtp.php
- src/wp-includes/class-snoopy.php
- src/wp-includes/kses.php
- src/wp-includes/rss.php
paths: { }
path_configs: { }
php_changetracking:
enabled: true
bug_patterns:
- '\bfix(?:es|ed)?\b'
feature_patterns:
- '\badd(?:s|ed)?\b'
- '\bimplement(?:s|ed)?\b'
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'src/wp-admin/includes/class-ftp*'
- src/wp-admin/includes/class-pclzip.php
- 'src/wp-content/*'
- 'src/wp-includes/ID3/*'
- 'src/wp-includes/SimplePie/*'
- 'src/wp-includes/Text/*'
- src/wp-includes/atomlib.php
- src/wp-includes/class-IXR.php
- src/wp-includes/class-json.php
- src/wp-includes/class-phpass.php
- src/wp-includes/class-phpmailer.php
- src/wp-includes/class-pop3.php
- src/wp-includes/class-smtp.php
- src/wp-includes/class-snoopy.php
- src/wp-includes/kses.php
- src/wp-includes/rss.php
paths: { }
php_hhvm:
filter:
excluded_paths:
- 'src/wp-admin/includes/class-ftp*'
- src/wp-admin/includes/class-pclzip.php
- 'src/wp-content/*'
- 'src/wp-includes/ID3/*'
- 'src/wp-includes/SimplePie/*'
- 'src/wp-includes/Text/*'
- src/wp-includes/atomlib.php
- src/wp-includes/class-IXR.php
- src/wp-includes/class-json.php
- src/wp-includes/class-phpass.php
- src/wp-includes/class-phpmailer.php
- src/wp-includes/class-pop3.php
- src/wp-includes/class-smtp.php
- src/wp-includes/class-snoopy.php
- src/wp-includes/kses.php
- src/wp-includes/rss.php
paths: { }
enabled: true
command: hhvm
extensions:
- php
config:
bad_php_include_file: false
php_include_file_not_found: false
unknown_class: false
unknown_base_class: false
unknown_function: false
use_evaluation: false
use_undeclared_variable: true
use_undeclared_global_variable: false
use_undeclared_constant: true
unknown_object_method: false
invalid_magic_method: true
bad_constructor_call: true
declared_variable_twice: true
declared_constant_twice: true
bad_define: true
required_after_optional_param: true
redundant_parameter: true
too_few_argument: true
too_many_argument: true
bad_argument_type: true
statement_has_no_effect: true
use_void_return: true
missing_object_context: true
more_than_one_default: true
invalid_array_element: true
invalid_derivation: true
invalid_override: true
reassign_this: true
missing_abstract_method_impl: true
bad_pass_by_reference: true
conditional_class_loading: true
goto_undef_label: true
goto_invalid_block: true
abstract_property: true
unknown_trait: false
method_in_multiple_traits: true
unknown_trait_method: true
invalid_access_modifier: true
cyclic_dependent_traits: true
invalid_trait_statement: true
redeclared_trait: true
invalid_instantiation: true
path_configs: { }
before_commands: { }
after_commands: { }
artifacts: { }
build_failure_conditions: { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment