Skip to content

[Ready for review] Core dependency and tool updates with PHP 8.1 #1

[Ready for review] Core dependency and tool updates with PHP 8.1

[Ready for review] Core dependency and tool updates with PHP 8.1 #1

Workflow file for this run

name: PHPStan
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-versions:
- '8.1'
- '8.2'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: zip, xdebug
coverage: xdebug
env:
update: true
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: PHPStan
run: php vendor/bin/phpstan analyse --error-format=github