From f7559aa50b14ddc3794790f903e8e0ba968bed35 Mon Sep 17 00:00:00 2001 From: Cyril PASCAL Date: Wed, 2 Oct 2024 16:47:42 +0200 Subject: [PATCH 1/2] Add PHP 8.3 compatibility --- .github/workflows/ci.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60b6434..5325323 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - php-version: ['8.1', '8.2'] + php-version: ['8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 0c70f9f..b80bb03 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "8.1.x|8.2.x", + "php": "8.1.x|8.2.x|8.3.x", "ext-mbstring": "*" }, "autoload": { From 47f546d01ee958bf086429d1415480d811956399 Mon Sep 17 00:00:00 2001 From: Cyril PASCAL Date: Wed, 2 Oct 2024 17:15:08 +0200 Subject: [PATCH 2/2] Remove unnecessary fseek() --- tests/MultibyteStringStreamTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/MultibyteStringStreamTest.php b/tests/MultibyteStringStreamTest.php index 10f8e70..65e0b4f 100644 --- a/tests/MultibyteStringStreamTest.php +++ b/tests/MultibyteStringStreamTest.php @@ -101,8 +101,6 @@ public function testMultibyteEdgeHandling(): void { 'Wrote out invalid character' ); - fseek($output, 2); - fwrite($output, $donut_second_half); fflush($output);