Checkout Config
build:
nodes:
tests:
dependencies:
override:
- true
tests:
override:
- true
environment:
php:
version: 5.4
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- 'app/*'
- 'bin/*'
- 'vendor/*'
- '*.min.js'
- 'web/assets/*'
coding_style:
php: { }
tools:
php_code_sniffer:
config:
standard: "PSR2"
php_cs_fixer: true
sensiolabs_security_checker: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
tests: true
filter:
paths:
- 'src/*'
excluded_paths:
- '*.min.js'
- '*/vendor/*'
checks:
php: true
javascript: true
coding_style:
php: { }