Oliver Davies
19f6b9954b
Lower PHPStan level to the lowest passing level. I'll start to increase it and fix the errors for higher levels when the CI pipeline is passing.
51 lines
711 B
YAML
51 lines
711 B
YAML
name: oliverdavies-uk
|
|
type: drupal
|
|
language: php
|
|
|
|
project_root: /var/www/html
|
|
|
|
web:
|
|
type: apache
|
|
|
|
database:
|
|
type: mariadb
|
|
version: 10
|
|
extra_databases: []
|
|
|
|
php:
|
|
version: 8.2-apache
|
|
phpcs:
|
|
paths:
|
|
- web/modules/custom
|
|
standards:
|
|
- Drupal
|
|
phpstan:
|
|
level: 1
|
|
paths:
|
|
- web/modules/custom
|
|
|
|
drupal:
|
|
docroot: web
|
|
|
|
docker-compose:
|
|
services:
|
|
- database
|
|
- php
|
|
|
|
dockerfile:
|
|
stages:
|
|
build:
|
|
extra_directories:
|
|
- tools
|
|
commands:
|
|
- composer validate --strict
|
|
- composer install --quiet --no-progress
|
|
|
|
git:
|
|
ignore:
|
|
- '!/phpstan.neon'
|
|
- '!/tests/Architecture/**'
|
|
|
|
experimental:
|
|
createGitHubActionsConfiguration: true
|