phpstan
phpstan copied to clipboard
Issues with Zip Extension
The ZIP Extension doesn't appear to be loading correctly. Changing from this action to just default phpstan resolved this issue immediately.
Run php-actions/phpstan@v3
with:
configuration: phpstan.neon
memory_limit: 10[2](https://github.com/smpw/smpw/actions/runs/7534158826/job/20508025856#step:10:2)4M
version: latest
php_version: latest
command: analyse
env:
COMPOSER_PROCESS_TIMEOUT: 0
COMPOSER_NO_INTERACTION: 1
COMPOSER_NO_AUDIT: 1
composer_cache_directory: /home/runner/.cache/composer/files
Run set -e
set -e
bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/?[3](https://github.com/?/?/actions/runs/7534158826/job/20508025856#step:10:3)0231a5dce6ad0998adebac05/php-build.bash) phpstan
/home/runner/work/_actions/php-actions/phpstan/v3/phpstan-action.bash
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
PHP_MINIMUM_CODE_COVERAGE: 60
DB_CONNECTION: mysql
DB_DATABASE: smpw_test
DB_USERNAME: root
DB_PASSWORD: root
QUEUE_CONNECTION: file
LOG_CHANNEL: single
SESSION_DRIVER: file
COMPOSER_PROCESS_TIMEOUT: 0
COMPOSER_NO_INTERACTION: 1
COMPOSER_NO_AUDIT: 1
composer_cache_directory: /home/runner/.cache/composer/files
ACTION_TOKEN: ***
ACTION_VERSION: latest
ACTION_PHP_VERSION: latest
ACTION_PHPSTAN_PATH:
ACTION_PHP_EXTENSIONS:
ACTION_COMMAND: analyse
ACTION_PATH:
ACTION_CONFIGURATION: phpstan.neon
ACTION_LEVEL:
ACTION_PATHS_FILE:
ACTION_AUTOLOAD_FILE:
ACTION_ERROR_FORMAT:
ACTION_GENERATE_BASELINE:
ACTION_MEMORY_LIMIT: 102[4](https://github.com/smpw/smpw/actions/runs/7534158826/job/20508025856#step:10:4)M
ACTION_ARGS:
Error thrown in /app/vendor/spatie/laravel-backup/config/backup.php on line 12[8](https://github.com/?/?/actions/runs/7534158826/job/20508025856#step:10:8) while loading bootstrap file /app/vendor/nunomaduro/larastan/bootstrap.php: Class "ZipArchive" not found
Error: Process completed with exit code 1.