[AllBundles] Symfony 6 compatibility fixes #1704
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: Code quality | |
on: | |
[push, pull_request] | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- name: Install Composer Dependencies | |
run: composer update --prefer-dist --no-progress | |
- name: Run phpstan | |
run: vendor/bin/phpstan analyse --no-progress | |
codestyle: | |
name: PHP codestyle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- name: Install Composer Dependencies | |
run: composer update --prefer-dist --no-progress | |
- name: Run php-cs-fixer | |
run: vendor/bin/php-cs-fixer fix --dry-run --diff |