Bump phpstan/phpstan-doctrine from 1.3.40 to 1.4.0 #1325
Workflow file for this run
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: [ pull_request ] | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
env: | |
SOLIDINVOICE_ENV: test | |
SOLIDINVOICE_DEBUG: 1 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
packagist.org:443 | |
repo.packagist.org:443 | |
registry.yarnpkg.com:443 | |
registry.npmjs.org:443 | |
codecov.io:443 | |
api.codecov.io:443 | |
uploader.codecov.io:443 | |
- name: Checkout | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
- name: Setup PHP | |
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 | |
with: | |
php-version: 8.3 | |
ini-values: date.timezone=Europe/Paris, opcache.enable=1, opcache.enable_cli=1, opcache.memory_consumption=256, opcache.max_accelerated_files=32531, opcache.interned_strings_buffer=8, opcache.validate_timestamps=0, opcache.save_comments=1, opcache.fast_shutdown=0 | |
extensions: intl, gd, opcache, mysql, pdo_mysql, :xdebug | |
- uses: ramsey/composer-install@v3 | |
- uses: oven-sh/setup-bun@v1 | |
- run: bun install | |
- run: bun run build | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: Warm up cache | |
run: bin/console cache:warmup -n -vvv -e test | |
- name: Run PHPStan | |
run: bin/phpstan analyse -c phpstan.test.neon |