Checkout Config
imports:
- php
filter:
paths: [src/*]
tools:
external_code_coverage: false
php_analyzer: true
php_mess_detector: true
sensiolabs_security_checker: true
php_changetracking: true
php_cs_fixer:
config: { level: psr2 }
# disable copy paste detector and similarity analyzer as they have no real value
# and a huge bunch of false-positives
php_sim: false
php_cpd: false
checks:
php:
code_rating: 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:
other:
after_type_cast: false