Checkout Config
build:
tests:
override:
-
command: "vendor/bin/phpunit --coverage-clover=some-file"
coverage:
file: some-file
format: clover
checks:
php:
fix_doc_comments: true
fix_line_ending: true
fix_linefeed: true
fix_php_opening_tag: true
fix_use_statements:
order_alphabetically: true
preserve_blanklines: true
preserve_multiple: false
remove_unused: true
one_class_per_file: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
filter:
excluded_paths:
- tests/*
tools:
php_code_sniffer:
config:
standard: PSR2
enabled: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true