Checkout Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
external_code_coverage:
timeout: 600 # timeout in seconds : 10 minutes
filter:
paths:
- src/*
excluded_paths:
# Psi is a facade class and complexity/coupling does not matter here
- src/Psi.php
- app/*
- tests/*
checks:
php:
code_rating: true
duplication: true
Repository Config
filter:
excluded_paths:
- 'app/*'
checks:
php: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
around_operators:
negation: true
within:
brackets: true
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
for:
opening: undefined
while:
opening: undefined
do_while:
opening: undefined
switch:
opening: undefined
try:
opening: undefined
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined