Skip to content

Workflow file for this run

name: PHPStan
on:
<<<<<<< HEAD

Check failure on line 4 in .github/workflows/phpstan.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/phpstan.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
=======
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
>>>>>>> 67aa803fa405c790afcc1f34b4afa5957b827114
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v2
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse src --error-format=github