From 8c2d6734aedd36fa9da437cbfc73ea8bceaf8cba Mon Sep 17 00:00:00 2001 From: Luka Dschaak Date: Fri, 29 Nov 2024 19:17:13 +0100 Subject: [PATCH] task: allow PHP 8.3 (#38) --- .github/workflows/qa.yaml | 2 +- .github/workflows/tests.yaml | 3 +++ compose.yaml | 2 +- composer.json | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index dad50b9..2af2ac0 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -21,7 +21,7 @@ jobs: - name: PHP Setup uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 - name: Validate composer.json run: composer validate --strict diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a23ce84..b743cc7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -26,6 +26,9 @@ jobs: - php-version: "8.2" dependencies: "highest" tests: --fail-on-risky + - php-version: "8.3" + dependencies: "highest" + tests: --fail-on-risky steps: - name: Git Checkout diff --git a/compose.yaml b/compose.yaml index 065db0c..05c2098 100644 --- a/compose.yaml +++ b/compose.yaml @@ -16,7 +16,7 @@ services: timeout: 10s php: - image: pimcore/pimcore:php8.2-latest + image: pimcore/pimcore:php8.3-latest volumes: - ./:/var/www/html/ environment: diff --git a/composer.json b/composer.json index 6cb5668..8ace403 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "sort-packages": true }, "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "doctrine/dbal": "^2.13 || ^3.9", "pimcore/pimcore": "^10.6 || ^11.0", "symfony/config": "^5.4 || ^6.4", @@ -37,7 +37,7 @@ "phpstan/phpstan-phpunit": "^1.4", "phpstan/phpstan-symfony": "^1.4.7", "phpunit/phpunit": "^9.6.20", - "teamneusta/pimcore-testing-framework": "^0.11.1" + "teamneusta/pimcore-testing-framework": "^0.12.8" }, "extra": { "pimcore": {