Skip to content

v3.0 Release (#70)

v3.0 Release (#70) #43

Workflow file for this run

name: Static analysis
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: pdo
ini-values: "memory_limit=-1"
coverage: none
tools: phpstan
- name: Install dependencies
run: |
composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer false
composer install --prefer-dist
- name: phpstan
run: phpstan analyse -l 5 src