diff options
author | Andrew Dolgov <[email protected]> | 2023-10-21 10:02:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-21 10:02:49 +0300 |
commit | 93bb473bceb3f4c6450f3101fa82a17dc84cf388 (patch) | |
tree | 758c01ca255e8c4e2f56802bb8f36cad3a7410c9 /utils/phpstan-watcher.sh | |
parent | 6e025103d31760b5e1d6e49fe3d6685207641a4a (diff) |
make phpstan happy, run phpstan on all files on task startupprotected/opentelemetry
Diffstat (limited to 'utils/phpstan-watcher.sh')
-rw-r--r-- | utils/phpstan-watcher.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/phpstan-watcher.sh b/utils/phpstan-watcher.sh index 70eb1d9ab..1972df049 100644 --- a/utils/phpstan-watcher.sh +++ b/utils/phpstan-watcher.sh @@ -1,5 +1,9 @@ #!/bin/sh +docker run --rm -v $(pwd):/app -v /tmp/phpstan-8.1:/tmp/phpstan \ + --workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze . +echo All done, RC=$?. + while true; do inotifywait . -e close_write -r -t 300 | grep -q .php && \ ( |