Skip to content

Merge pull request #3470 from acrobat/translator-sf7-forward-compat #2185

Merge pull request #3470 from acrobat/translator-sf7-forward-compat

Merge pull request #3470 from acrobat/translator-sf7-forward-compat #2185

Workflow file for this run

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.1
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.1
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