refacto to use the InvalidConfigurationException on the right node an… #121
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 level 5 | |
on: push | |
jobs: | |
phpstan-5: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: '**/vendor' | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- uses: php-actions/composer@v6 | |
with: | |
args: --prefer-dist | |
php_version: '8.2' | |
- name: PHPStan | |
uses: php-actions/phpstan@v2 | |
with: | |
path: src/ | |
level: 5 | |
php_version: '8.2' |