From 1080aedf057fd0c578af0630eab33b67d36c1746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ACguez?= Date: Thu, 14 Nov 2024 10:41:34 +0100 Subject: [PATCH] Add support to PHP 8.4 --- .github/workflows/analyse.yml | 6 +++--- .github/workflows/fix_style.yml | 6 +++--- .github/workflows/test.yml | 2 +- composer.json | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index 70354f8..3fd0a8f 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -17,16 +17,16 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 - name: Cache Composer packages id: composer-cache uses: actions/cache@v4 with: path: vendor - key: ${{ runner.os }}-php-8.3-${{ hashFiles('**/composer.json') }} + key: ${{ runner.os }}-php-8.4-${{ hashFiles('**/composer.json') }} restore-keys: | - ${{ runner.os }}-php-8.3- + ${{ runner.os }}-php-8.4- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/fix_style.yml b/.github/workflows/fix_style.yml index 7503457..0febfc6 100644 --- a/.github/workflows/fix_style.yml +++ b/.github/workflows/fix_style.yml @@ -15,16 +15,16 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 - name: Cache Composer packages id: composer-cache uses: actions/cache@v4 with: path: vendor - key: ${{ runner.os }}-php-8.3-${{ hashFiles('**/composer.json') }} + key: ${{ runner.os }}-php-8.4-${{ hashFiles('**/composer.json') }} restore-keys: | - ${{ runner.os }}-php-8.3- + ${{ runner.os }}-php-8.4- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67f61c6..09ec837 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2, 8.3] + php: [8.2, 8.3, 8.4] steps: - name: Checkout code diff --git a/composer.json b/composer.json index 1f1d282..8134d9f 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "dev" ], "require": { - "php": "^8.0" + "php": "^8.2" }, "homepage": "https://github.com/descom-es/php-dev", "license": "MIT", @@ -41,4 +41,4 @@ "suggest": { "friendsofphp/php-cs-fixer": "Required to apply styles" } -} \ No newline at end of file +}