Code simplification, since we don't need to check if a non-promoted p… #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: PHPStan analysis | |
on: | |
push: ~ | |
pull_request: ~ | |
jobs: | |
phpstan: | |
name: PHPStan analysis tests on ${{ matrix.php }} ${{ matrix.composer-flags }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.1', '8.2' ] | |
composer-flags: [ '' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
- run: composer update --no-progress ${{ matrix.composer-flags }} | |
- run: vendor/bin/phpstan |