Reviewed and updated request methods and responses #16
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
# static code analyse with phpstan | |
name: PHPStan | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
phpstan: | |
name: PHPStan analyse | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# setup php interpreter | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
# composer install | |
- name: Install dependencies | |
run: composer install --no-interaction --no-progress --no-suggest | |
# phpstan process | |
- name: Run PHPStan | |
run: ./bin/phpstan analyse --configuration phpstan.neon -vvv |