diff options
| author | Greg <supahgreg@users.noreply.github.com> | 2025-10-11 16:30:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-11 16:30:42 -0500 |
| commit | 5fb013d268c65f16a535ecc924f1480f07b4f011 (patch) | |
| tree | 5fb6d8efebb4b664c59180f61e975289bbab9388 /utils/phpstan-watcher.sh | |
| parent | 73e6ade27f9751d3892693be9e11946462e10ed5 (diff) | |
| parent | 7ad6c3ec641d0b89d072dc9b32202aebb8ecaf8d (diff) | |
Merge pull request #40 from tt-rss/project-cleanup
Project cleanup, PHPUnit config tweaks
Diffstat (limited to 'utils/phpstan-watcher.sh')
| -rwxr-xr-x | utils/phpstan-watcher.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/utils/phpstan-watcher.sh b/utils/phpstan-watcher.sh deleted file mode 100755 index 84554e68d..000000000 --- a/utils/phpstan-watcher.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -export PHP_IMAGE=registry.fakecake.org/infra/php8.4-alpine3.22 - -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 . - -echo All done, RC=$?. - -while true; do - inotifywait . -e close_write -r -t 300 | grep -q .php && \ - ( - 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 . - - echo All done, RC=$?. - ) - sleep 1 -done |