feat: bump minimum Symfony version to 6.3.x #126
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
# See continuous-integration.yml for sources. | |
name: "Code Quality" | |
on: [push, pull_request] | |
jobs: | |
static-analysis-phpstan: | |
name: "Static Analysis on PHP ${{ matrix.php-version }}" | |
runs-on: "ubuntu-22.04" | |
strategy: | |
matrix: | |
php-version: | |
- 8.1 | |
- 8.2 | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v3" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "json,ldap" | |
php-version: "${{ matrix.php-version }}" | |
- name: "Install dependencies with Composer" | |
uses: "ramsey/composer-install@v2" | |
- name: "Run a static analysis with phpstan/phpstan" | |
run: "vendor/bin/phpstan analyse" | |
# Skip Psalm until we can get it working better with Symfony bundle configuration files. | |
# - name: "Run a static analysis with vimeo/psalm" | |
# run: "vendor/bin/psalm --output-format=github" |