Skip to content

Support PHP 8.3, dropped 7.4 and 8.0 #63

Support PHP 8.3, dropped 7.4 and 8.0

Support PHP 8.3, dropped 7.4 and 8.0 #63

Workflow file for this run

name: PHPStan
on:
push:
paths:
- '**.php'
- 'phpstan.neon'
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
strategy:
matrix:
php: [ "8.1", "8.3" ]
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pspell, intl, iconv
coverage: none
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse src -c phpstan.${{ matrix.php }}.neon