Skip to content

Bump symfony/browser-kit from 6.4.0 to 7.2.0 #177

Bump symfony/browser-kit from 6.4.0 to 7.2.0

Bump symfony/browser-kit from 6.4.0 to 7.2.0 #177

Workflow file for this run

name: PHPCS
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
phpcs:
name: PHP CS Fixer
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: PHP CS Fixer
run: |
CHANGED_FILES=$(echo "${{ steps.changed-files.outputs.all_changed_and_modified_files }}" | tr ' ' '\n')
if ! echo "${CHANGED_FILES}" | grep -qE "^(\\.php-cs-fixer(\\.dist)?\\.php|composer\\.lock)$"; then EXTRA_ARGS=$(printf -- '--path-mode=intersection\n--\n%s' "${CHANGED_FILES}"); else EXTRA_ARGS=''; fi
PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --diff --using-cache=no ${EXTRA_ARGS}