Skip to content

feat: Upgrade to PHPStan 2.x #12

feat: Upgrade to PHPStan 2.x

feat: Upgrade to PHPStan 2.x #12

Workflow file for this run

name: Static Analysis
on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install composer dependencies
uses: ramsey/composer-install@v3
- name: Run PHPStan
run: composer test:types