Skip to content

fix mixed return type with PHP 7.4 #97

fix mixed return type with PHP 7.4

fix mixed return type with PHP 7.4 #97

Workflow file for this run

name: PHPStan
on:
push:
pull_request:
jobs:
tests:
name: Run PHPStan with PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
operating-system: ['ubuntu-latest']
php: ['8.2']
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup PHP with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php }}
coverage: xdebug
tools: none
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
- name: Run PHPStan
run: composer run phpstan