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
# language: php
build:
environment:
variables:
COMPOSER_AUTH: '{"http-basic":{"repo.packagist.com":{"username":"token","password":"261166cc6a05f624396efec0c9b575696dfe641bfc6251e6da1691b44830"}}}'
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
checks:
php: true
coding_style:
php:
spaces:
within:
brackets: true
filter: { }