Skip to content

Upgrade GitHub actions & test against Symfony 8.1 #64

Upgrade GitHub actions & test against Symfony 8.1

Upgrade GitHub actions & test against Symfony 8.1 #64

name: Coding Standards
on:
pull_request:
branches: ['2.x', '1.x']
push:
branches: ['2.x', '1.x']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
php-cs-fixer:
name: PHP CS Fixer (PHP ${{ matrix.php-version }})
runs-on: ubuntu-24.04
strategy:
matrix:
php-version:
- '8.4'
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
coverage: none
php-version: ${{ matrix.php-version }}
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
composer-options: '--working-dir=tools/php-cs-fixer'
- name: Run PHP CS Fixer
run: 'tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run'