Fix PHP Stan issues #521
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
on: [push, pull_request] | |
name: Quality assurance | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Force php 8.1 | |
run: composer config platform.php 8.0.99 | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Install symfony/maker-bundle | |
run: composer require symfony/maker-bundle --no-progress | |
- name: Install doctrine/orm | |
run: composer require doctrine/orm --no-progress | |
- name: PHPStan | |
uses: "docker://oskarstark/phpstan-ga" | |
env: | |
REQUIRE_DEV: true | |
with: | |
args: analyse |