Checkout Config
build:
environment:
php:
version: 7.1
node: v8.14.0
tests:
override:
-
command: 'composer build-code-coverage-clover'
coverage:
file: 'output/code-coverage/clover.xml'
format: 'clover'
Repository Config
filter:
paths:
- '*.php'
checks:
php:
properties_in_camelcaps: true
no_short_variable_names:
minimum: '3'
no_short_method_names: true
no_goto: true
fix_line_ending: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
remove_extra_empty_lines: true
parameter_doc_comments: true
return_doc_comments: true
phpunit_assertions: true
return_doc_comment_if_not_inferrable: true
parameters_in_camelcaps: true
param_doc_comment_if_not_inferrable: true
coding_style:
php:
spaces:
around_operators:
concatenation: false
braces:
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build:
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run