Skip to content

Fix PHPStan issue about Promise not being generic #58

Fix PHPStan issue about Promise not being generic

Fix PHPStan issue about Promise not being generic #58

Workflow file for this run

name: "Continuous Integration"
on:
pull_request:
push:
jobs:
phpunit:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
steps:
- uses: actions/checkout@v4
- name: Install PHP ${{ matrix.php }}
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
ini-values: "memory_limit=-1, phar.readonly=0"
php-version: ${{ matrix.php }}
- name: Install dependencies
uses: ramsey/composer-install@v3
- name: "Install dependencies"
run: composer update --no-progress -o --prefer-dist
- name: "Run PHPUnit"
run: ./vendor/bin/phpunit
- name: "Run PHPStan"
run: ./vendor/bin/phpstan analyze