Checkout Config
inherit: true
#Copied from https://www.adayinthelifeof.nl/2013/11/20/external-code-coverage-with-travis-scrutinizer/
tools:
external_code_coverage:
timeout: 600
php_code_sniffer:
config:
standard: PSR2
php_cs_fixer:
extensions:
# Default:
- php
fixers: []
enabled: false
filter:
paths: [tests/*,src/*]
excluded_paths: []
coding_style:
php:
indentation:
general:
use_tabs: false
checks:
php:
code_rating: true
duplication: true
build:
nodes:
analysis:
tests:
override: [php-scrutinizer-run]
filter:
paths: [tests/*,src/*]
Repository Config
filter:
excluded_paths:
- 'tests/*'
- '*.min.js'
checks:
php: true
javascript: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
before_keywords:
else: false
other:
after_type_cast: false