Checkout Config
build:
environment:
php: 7.2
mysql: 5.7
services:
mysql: 5.7
dependencies:
before:
- cp tests/.env.scrutinizer .env
- mysql -e 'create database scrutinizer;'
- mysql -e 'create user forge@localhost; grant all privileges on *.* to forge@localhost with grant option;'
after:
- php artisan key:generate
- php artisan migrate
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:
excluded_paths:
- '*.min.js'
- 'node_modules/*'
- 'scripts/*'
- 'tests/*'
- 'vendor/*'
- 'public/js/*'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
relational: false