From 7a1409307bb256da45f250d1644d824acfb4515d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 08:04:49 +0000 Subject: [PATCH] build(deps): update friendsofphp/php-cs-fixer requirement in /tools Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.76.0...v3.80.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.80.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Emilien Escalle --- .github/workflows/__shared-ci.yml | 3 --- .github/workflows/update-css-referential.yml | 2 +- Makefile | 2 +- tools/composer.json | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/__shared-ci.yml b/.github/workflows/__shared-ci.yml index 27f6e4f..6db4c73 100644 --- a/.github/workflows/__shared-ci.yml +++ b/.github/workflows/__shared-ci.yml @@ -35,9 +35,6 @@ jobs: - name: 👕 Lint if: matrix.stable run: composer php-cs-fixer -- --format=checkstyle | tools/vendor/bin/cs2pr - env: - # FIXME: Remove this when PHP CS Fixer will support PHP 8.4 - PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-versions == '8.4' && '1' || '' }} - name: 🔬 Rector id: rector diff --git a/.github/workflows/update-css-referential.yml b/.github/workflows/update-css-referential.yml index 2d6adb1..e665afe 100644 --- a/.github/workflows/update-css-referential.yml +++ b/.github/workflows/update-css-referential.yml @@ -19,7 +19,7 @@ jobs: - name: ⚙️ Setup PHP, with composer and extensions uses: ./.github/workflows/actions/setup-php with: - php-version: 8.3 + php-version: 8.4 - name: Generate CSS Referential run: composer run-script generate-css-referentials diff --git a/Makefile b/Makefile index 05a2963..6ceee1b 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ generate-css-referentials: ## Generate referentials for given PHP version ## Run PHP for given version define run-php - @docker run -it --rm -v ${PWD}:${PWD} -e PHP_CS_FIXER_IGNORE_ENV=$(if $(filter 8.4,$(PHP_VERSION)),1,) -w ${PWD} "${IMAGE}" $(1) + @docker run -it --rm -v ${PWD}:${PWD} -w ${PWD} "${IMAGE}" $(1) endef ############################# diff --git a/tools/composer.json b/tools/composer.json index f7a5faa..0a39d75 100644 --- a/tools/composer.json +++ b/tools/composer.json @@ -1,6 +1,6 @@ { "require": { - "friendsofphp/php-cs-fixer": "^3.76", + "friendsofphp/php-cs-fixer": "^3.80", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.1", "phpstan/phpstan-phpunit": "^2.0",