about summary refs log tree commit diff stats
path: root/utils
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-24 14:32:10 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-24 14:32:10 +0300
commit8ca1fb36999b0e2eceed1388d1a1f7cc115a2f3c (patch)
treecc8e87dfc2ce2ed839461085e158e3241927cff2 /utils
parent3acfdf4eff52d275ad37a736984a62c70616077d (diff)
downloadthe-epube-8ca1fb36999b0e2eceed1388d1a1f7cc115a2f3c.tar.gz
the-epube-8ca1fb36999b0e2eceed1388d1a1f7cc115a2f3c.tar.xz
bump phpstan to v2, stop using docker because trixie has recent enough php
Diffstat (limited to 'utils')
-rw-r--r--utils/phpstan-watcher.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/utils/phpstan-watcher.sh b/utils/phpstan-watcher.sh
index b83ad91..a3f3a5c 100644
--- a/utils/phpstan-watcher.sh
+++ b/utils/phpstan-watcher.sh
@@ -1,10 +1,6 @@
 #!/bin/sh
 
-export PHP_IMAGE=registry.fakecake.org/infra/php8.4-alpine3.22
-
-docker run --rm -v $(pwd):/app \
-	--workdir /app ${PHP_IMAGE} \
-	php84 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze .
+./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze .
 
 echo All done, RC=$?.
 
@@ -13,9 +9,7 @@ while true; do
 		(
 			MODIFIED=$(git ls-files -m | grep .php)
 
-			docker run --rm -v $(pwd):/app -v /tmp/phpstan:/tmp/phpstan \
-				--workdir /app ${PHP_IMAGE} \
-				php84 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze .
+			./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze .
 
 			echo All done, RC=$?.
 		)