Initial commit after upgrading to php 8.3 and splitting to seperated tool chain

This commit is contained in:
2026-07-18 14:10:59 +02:00
commit df77e19b8d
24 changed files with 6422 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
PHP = docker compose run --rm php
.PHONY: install test phpstan cs-fix cs-check audit shell build
build:
docker compose build
install:
$(PHP) composer install
vendor:
$(MAKE) install
test: vendor
$(PHP) vendor/bin/phpunit --testsuite Unit --colors=always
phpstan: vendor
$(PHP) vendor/bin/phpstan analyse --no-progress --ansi --memory-limit=512M
cs-fix: vendor
$(PHP) vendor/bin/php-cs-fixer fix --ansi
cs-check: vendor
$(PHP) vendor/bin/php-cs-fixer fix --dry-run --diff --ansi
audit: vendor
$(PHP) composer audit
ci: audit phpstan cs-check test
shell:
docker compose run --rm php sh