Skip to content

Styling

Styling #321

Workflow file for this run

name: Static Analysis
on:
push:
paths:
- '**.php'
- 'composer.json'
- 'composer.lock'
- 'phpstan.neon.dist'
jobs:
phpstan:
name: phpstan ${{ matrix.php }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.1, 8.2 ]
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v2
- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github