Skip to content

Merge branch '3.x' into 4.x #74

Merge branch '3.x' into 4.x

Merge branch '3.x' into 4.x #74

name: 'Static Analysis'
on: [push, pull_request]
jobs:
sa-phpstan:
runs-on: ubuntu-latest
name: PHPStan
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer:v2
extensions: curl, iconv, mbstring, mongodb, pdo, pdo_sqlite, sqlite, zip
coverage: none
- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --ignore-platform-req=php
- name: Run PHPStan
run: vendor/bin/phpstan analyze --error-format=github