Skip to content

PHPStan 2.0

PHPStan 2.0 #15

Workflow file for this run

name: PHPStan
on:
pull_request:
push:
branches:
- master
jobs:
phpstan:
name: "PHPStan"
runs-on: "ubuntu-latest"
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
- "8.4"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: mbstring
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress --no-suggest"
- name: "PHPStan"
run: "vendor/bin/phpstan"