From 098846eda7fd033a1a2c8a975b00324871e58885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Thu, 9 Nov 2023 16:56:59 +0100 Subject: [PATCH] [FEATURE] Add support for PHP 8.3 --- .github/workflows/tests.yaml | 4 ++-- composer.json | 2 +- composer.lock | 4 ++-- installer/composer.json.twig | 2 +- tests/src/Fixtures/Templates/json-template/composer.json | 2 +- tests/src/Fixtures/Templates/yaml-template/composer.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a39daf65..b125f57d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["8.1", "8.2"] + php-version: ["8.1", "8.2", "8.3"] composer-version: ["2.1", "2.2", "2.3", "2.4", "2.5", "2.6"] dependencies: ["highest", "lowest"] steps: @@ -53,7 +53,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 tools: composer:v2 coverage: pcov diff --git a/composer.json b/composer.json index 4c8cea8b..c589f0ae 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-filter": "*", "ext-json": "*", "ext-mbstring": "*", diff --git a/composer.lock b/composer.lock index fec41442..64afa34f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "16d58a281c5a2530180b6994e23e4015", + "content-hash": "f616be452ab11457ebf1ee86c2a8ced8", "packages": [ { "name": "cocur/slugify", @@ -7294,7 +7294,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-filter": "*", "ext-json": "*", "ext-mbstring": "*", diff --git a/installer/composer.json.twig b/installer/composer.json.twig index 69f1d911..0ebd3bf3 100644 --- a/installer/composer.json.twig +++ b/installer/composer.json.twig @@ -3,7 +3,7 @@ "description": "Template installer for cpsit/project-builder", "license": "GPL-3.0-or-later", "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "composer/installers": "^2.0", "oomphinc/composer-installers-extender": "^2.0", {% for templateSource in templateSources %} diff --git a/tests/src/Fixtures/Templates/json-template/composer.json b/tests/src/Fixtures/Templates/json-template/composer.json index 82169481..7249fe12 100644 --- a/tests/src/Fixtures/Templates/json-template/composer.json +++ b/tests/src/Fixtures/Templates/json-template/composer.json @@ -2,7 +2,7 @@ "name": "cpsit/project-builder-template-json", "type": "project-builder-template", "require": { - "php": "~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "phpunit/phpunit": "^9.5" diff --git a/tests/src/Fixtures/Templates/yaml-template/composer.json b/tests/src/Fixtures/Templates/yaml-template/composer.json index cfc78fca..aad054f1 100644 --- a/tests/src/Fixtures/Templates/yaml-template/composer.json +++ b/tests/src/Fixtures/Templates/yaml-template/composer.json @@ -2,7 +2,7 @@ "name": "cpsit/project-builder-template-yaml", "type": "project-builder-template", "require": { - "php": "~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "phpunit/phpunit": "^9.5"