Allow PHP 8.4 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Static Analysis' | |
on: [push, pull_request] | |
jobs: | |
sa-phpstan: | |
runs-on: ubuntu-latest | |
name: PHPStan | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
tools: composer:v2 | |
extensions: curl, iconv, mbstring, session, sockets, sqlite, zip | |
coverage: none | |
- name: Install dependencies | |
run: composer update --prefer-stable --prefer-dist | |
- name: Run PHPStan | |
run: vendor/bin/phpstan analyze --error-format=github |