From 6d6d8c9b800a2ebb49362819b5ca4bac766302c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 23 Apr 2024 13:21:03 +0200 Subject: [PATCH] IBX-8119: Upgraded minimum PHP version to 8.3 --- .github/workflows/backend-ci.yaml | 30 ++++++++++++------------------ .github/workflows/frontend-ci.yaml | 6 +++--- composer.json | 2 +- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index bf40dca..80f7a69 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -14,9 +14,9 @@ jobs: strategy: matrix: php: - - '8.1' + - '8.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -26,7 +26,7 @@ jobs: extensions: 'pdo_sqlite, gd' tools: cs2pr - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -42,12 +42,10 @@ jobs: fail-fast: false matrix: php: - - '7.4' - - '8.1' - - '8.2' + - '8.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -56,7 +54,7 @@ jobs: coverage: none extensions: pdo_sqlite, gd - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -92,12 +90,10 @@ jobs: strategy: matrix: php: - - '7.4' - - '8.0' - - '8.2' + - '8.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -107,7 +103,7 @@ jobs: extensions: pdo_pgsql, gd tools: cs2pr - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: dependency-versions: highest @@ -145,12 +141,10 @@ jobs: strategy: matrix: php: - - '7.4' - - '8.0' - - '8.2' + - '8.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -160,7 +154,7 @@ jobs: extensions: pdo_mysql, gd tools: cs2pr - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: dependency-versions: highest diff --git a/.github/workflows/frontend-ci.yaml b/.github/workflows/frontend-ci.yaml index 6bc4344..d09e119 100644 --- a/.github/workflows/frontend-ci.yaml +++ b/.github/workflows/frontend-ci.yaml @@ -14,12 +14,12 @@ on: jobs: frontend-test: name: Frontend build test - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" timeout-minutes: 5 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '18' - run: yarn install diff --git a/composer.json b/composer.json index 4fe1794..87c2a2c 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "ibexa-dxp" ], "require": { - "php": "^7.4 || ^8.0", + "php": " >=8.3", "ibexa/core": "~5.0.x-dev", "ibexa/doctrine-schema": "~5.0.x-dev", "symfony/config": "^5.4",