Checkout Config
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
filter:
excluded_paths:
- "vendor/*"
- "tests/*"
paths:
- "src/*"
tools:
php_analyzer: true
php_changetracking: true
php_code_coverage: true
php_code_sniffer:
enabled: true
config:
standard: PSR2
php_cpd: true
php_mess_detector: true
php_pdepend: true
php_sim: true
build:
dependencies:
before:
- "sudo composer self-update"
override:
- "composer install --no-interaction --prefer-dist"
tests:
override:
-
command: './cli/phpunit -c phpunit.xml.dist --coverage-clover=coverage-report.xml'
coverage:
file: 'coverage-report.xml'
format: 'php-clover'
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true