Switch from Psalm to PHPStan level 6 #597
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: | |
push: | |
pull_request: | |
jobs: | |
phpcs: | |
name: PHP-CodeSniffer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
extensions: bcmath, gmp, intl, dom, mbstring | |
- name: Download dependencies | |
run: composer install --classmap-authoritative | |
- name: PHP CS | |
run: vendor/bin/phpcs |