From f8e2bd09b4d21a57961ea26ff5dedd68b678b3a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Tegn=C3=A9r?= Date: Tue, 14 Jan 2025 09:06:19 +0100 Subject: [PATCH 1/2] Updated workflow to include php8.4 and use composer v2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Tegnér --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d87fa7d..35da2dc 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.1', '8.2', '8.3', '8.4'] test-command: ['test'] name: Test PHP ${{ matrix.php-version }} @@ -23,7 +23,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - tools: composer:v1 + tools: composer:v2 - name: Validate composer.json and composer.lock run: | composer --version From 336f32ae84a5af74dd41363511a8e1f71231da8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Tegn=C3=A9r?= Date: Tue, 14 Jan 2025 09:06:47 +0100 Subject: [PATCH 2/2] Changed version constraint on psr/clock. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Tegnér --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 94ffcc3..2f582a5 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ }, "require": { "php": ">=8.1", - "psr/clock": "1.0.0" + "psr/clock": "^1.0.0" }, "require-dev": { "ext-json": "*", diff --git a/composer.lock b/composer.lock index 3f42c3f..df4636a 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": "985a6450484f3f980bdcbd204bfcd698", + "content-hash": "914ef385654d62e7ca8a9ea1303f9c1e", "packages": [ { "name": "psr/clock",