Skip to content

Fix PHPStan issues

Fix PHPStan issues #3

Workflow file for this run

name: Test
on: [push, pull_request ]
jobs:
test:
name: 'PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dependencies:
- lowest
- highest
php-version:
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
- name: 'Install Composer dependencies (${{ matrix.dependencies }})'
uses: 'ramsey/composer-install@v1'
with:
dependency-versions: '${{ matrix.dependencies }}'
composer-options: '--prefer-dist --prefer-stable'
- name: Run Tests
run: composer test