Skip to content

Upgrading Symfony dependencies to allow ^7.0 #587

Upgrading Symfony dependencies to allow ^7.0

Upgrading Symfony dependencies to allow ^7.0 #587

Workflow file for this run

on: [pull_request]
jobs:
phpunit:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
extensions: intl curl
- run: composer update --no-interaction --no-progress --prefer-dist --ansi
- run: composer test:unit
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
env:
COMPOSER_TOKEN: ${{ github.token }}
update: true
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
- name: PHPStan tests
run: composer test:types
rector:
name: Rector
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
env:
COMPOSER_TOKEN: ${{ github.token }}
update: true
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
- name: PHPStan tests
run: composer test:refactor
pint:
name: Pint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
tools: cs2pr
env:
COMPOSER_TOKEN: ${{ github.token }}
update: true
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
- name: Run Pint
run: composer exec -- pint --test --format=checkstyle | cs2pr