Skip to content

[Sync] Targer symfony/symfony #109

[Sync] Targer symfony/symfony

[Sync] Targer symfony/symfony #109

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ master ]
jobs:
cs:
name: 'Code Style'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
tools: php-cs-fixer:3.34, cs2pr
- name: Display PHP-CS-Fixer version
run: php-cs-fixer --version
- name: PHP-CS-Fixer
run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
tools: phpstan:1.10, cs2pr
- name: Download dependencies
uses: ramsey/composer-install@v2
- name: PHPStan
run: phpstan analyze --no-progress --error-format=checkstyle | cs2pr
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
tools: vimeo/psalm:5.18
- name: Download dependencies
uses: ramsey/composer-install@v2
- name: Psalm
run: psalm --no-progress --output-format=github