diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 7dceebb..5b8d55a 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -16,7 +16,7 @@ jobs: run: | set -e echo "swoole.enable_library=Off" >> /usr/local/etc/php/conf.d/docker-php-ext-swoole.ini - composer global require -n -q --no-progress -- phpstan/phpstan=~2.0 + composer require -n -q --no-progress -- phpstan/phpstan=~2.0 - name: Run Static Analysis - run: ~/.composer/vendor/bin/phpstan analyse --no-progress --memory-limit 2G + run: ./vendor/bin/phpstan analyse --no-progress --memory-limit 2G