Add support for generating autodescriptions #67
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: Static analysis | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
phpstan: | |
name: phpstan ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# phpstan fails on 7.x, due to array_combined not returning false | |
- php: '8.0' | |
- php: '8.1' | |
- php: '8.2' | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
coverage: none | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install composer dependencies | |
run: | | |
composer update --prefer-dist --no-interaction --no-progress --no-ansi ${COMPOSER_FLAGS} | |
- name: PHPStan | |
run: composer phpstan |