Checkout Config
# Scrutinizer Configuration File
tools:
external_code_coverage: false
php_sim:
enabled: true
min_mass: 50
php_pdepend:
enabled: true
configuration_file: null
suffixes:
- php
excluded_dirs: { }
php_analyzer:
enabled: true
extensions:
- php
dependency_paths: { }
path_configs: { }
php_changetracking:
enabled: true
bug_patterns:
- '\bfix(?:es|ed)?\b'
feature_patterns:
- '\badd(?:s|ed)?\b'
- '\bimplement(?:s|ed)?\b'
php_hhvm:
enabled: true
command: hhvm
extensions:
- php
path_configs: { }
before_commands: { }
after_commands: { }
artifacts: { }
build_failure_conditions: { }
filter:
excluded_paths:
- implementation/*
- examples/*
- bin/*
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
filter: { }
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
negation: true