Add PHPStan config

This commit is contained in:
2024-05-27 08:03:08 +02:00
parent d4cc71946d
commit 999dbee2c6
6 changed files with 262 additions and 1 deletions

30
.drone.yml Normal file
View File

@@ -0,0 +1,30 @@
kind: pipeline
name: default
type: docker
on:
push:
steps:
- name: install
image: composer/composer:2
commands:
- composer install --no-interaction
- name: lint
image: php:8.3
commands:
- php bin/console lint:container
- php vendor/bin/phpstan analyse
depends_on:
- install
- name: test
image: php:8.3
commands:
- php bin/console make:migration
- php bin/console doctrine:migrations:migrate --no-interaction
- php bin/console doctrine:fixtures:load --no-interaction --env=test
- php bin/phpunit
depends_on:
- install