Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
testing:
tests:
before:
- 'php bin/console doctrine:database:create --env=test --if-not-exists'
- 'php bin/console doctrine:schema:update --force --env=test --complete'
- 'php bin/console doctrine:fixtures:load --env=test --no-interaction'
override:
- command: php bin/phpunit
environment:
hosts:
'local.dev': '127.0.0.1'
apache2:
modules: ['rewrite']
sites:
snowtricks:
web_root: 'public/'
host: 'local.dev'
services:
mysql: 5.7
#tests: true
environment:
node: 8.11
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- 'vendor/*'
checks:
php: true
coding_style:
php: { }
tools:
php_cs_fixer:
enabled: true
config:
level: psr1
php_code_sniffer:
enabled: true
config:
standard: PSR1
sensiolabs_security_checker: true