From 77496bbb4b1ae7133f3c3139b2c20ec0019da8be Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 13 Nov 2024 13:46:58 +0000 Subject: [PATCH] Extended composer.json for PHP 8.3 compatibility and added 8.3 to automated tests. --- .github/workflows/php-syntax.yml | 2 +- .github/workflows/phpunit.yml | 4 ++-- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-syntax.yml b/.github/workflows/php-syntax.yml index 3695bd5..575c8f0 100644 --- a/.github/workflows/php-syntax.yml +++ b/.github/workflows/php-syntax.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] steps: - name: Checkout diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 2565b20..2c5d546 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] include: - php: '7.3' os: ubuntu-latest @@ -70,4 +70,4 @@ jobs: if: ${{ matrix.report }} run: | vendor/bin/phpunit --verbose --coverage-clover=tmp/coverage/report-xml/php-coverage1.xml - bash <(curl -s https://codecov.io/bash); \ No newline at end of file + bash <(curl -s https://codecov.io/bash); diff --git a/composer.json b/composer.json index 80f4f88..336cfb0 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "source": "https://github.com/gravitypdf/upload" }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-fileinfo": "*" }, "require-dev": {