Checkout Config
# .scrutinizer.yml #
tools:
external_code_coverage:
timeout: 600
runs: 17
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- 'build/*'
paths: { }
Repository Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
checks:
php:
uppercase_constants: true
unused_variables: false
sql_injection_vulnerabilities: true
single_namespace_per_use: false
require_scope_for_methods: true
require_php_tag_first: true
psr2_switch_declaration: true
psr2_class_declaration: true
php5_style_constructor: true
parse_doc_comments: true
parameter_doc_comments: true
classes_in_camel_caps: true
encourage_single_quotes: true
fix_line_ending: true
function_in_camel_caps: true
line_length:
max_length: '120'
newline_at_end_of_file: true