Checkout Config
tools:
external_code_coverage: true
filter:
excluded_paths:
- 'tests/*'
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
phpunit_assertions: true
no_goto: true
coding_style:
php:
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
phpunit_assertions: true
no_goto: true
coding_style:
php:
braces:
classes_functions:
class: end-of-line
function: end-of-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower