From 55d3425487039419c20f2fcf57017fcb453969d3 Mon Sep 17 00:00:00 2001 From: Krishan Koenig Date: Wed, 18 Dec 2024 12:08:45 +0100 Subject: [PATCH] wip --- .github/workflows/fix-codestyle.yml | 2 +- .github/workflows/tests.yml | 3 --- composer.json | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/fix-codestyle.yml b/.github/workflows/fix-codestyle.yml index 367de127..66be903f 100644 --- a/.github/workflows/fix-codestyle.yml +++ b/.github/workflows/fix-codestyle.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.3] + php: [8.4] steps: - name: Checkout code diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f356a39..fac5d3f5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,9 +22,6 @@ jobs: extensions: dom, curl, libxml, mbstring, zip tools: composer:v2 coverage: none - - name: Remove PHP CS Fixer dependency to prevent unnecessary dependency collisions - run: | - composer remove --dev friendsofphp/php-cs-fixer - name: Install dependencies run: | composer update --prefer-dist --no-interaction --no-progress diff --git a/composer.json b/composer.json index fb2fce4e..46cd65cc 100644 --- a/composer.json +++ b/composer.json @@ -58,8 +58,8 @@ }, "require-dev": { "brianium/paratest": "^6.11", - "friendsofphp/php-cs-fixer": "^3.39", "guzzlehttp/guzzle": "^7.6", + "laravel/pint": "^1.18", "phpstan/phpstan": "^2.0", "phpunit/phpunit": "^9.6" }, @@ -82,6 +82,6 @@ }, "scripts": { "test": "./vendor/bin/phpunit tests", - "format": "./vendor/bin/php-cs-fixer fix --allow-risky=yes" + "format": "./vendor/bin/pint" } }