From a0afe81c5dca9a71faa4cec04518892ca47ede06 Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Thu, 16 Nov 2023 18:59:02 +0000 Subject: [PATCH] Add setup-php to get 8.3 in workflow --- .github/workflows/php.yml | 8 ++++++++ composer.json | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b587f87..267914e 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,6 +17,14 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' + extensions: curl, json + coverage: xdebug + tools: php-cs-fixer, phpunit + - name: Validate composer.json and composer.lock run: composer validate diff --git a/composer.json b/composer.json index 1c73e4a..1911e10 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ "issues": "http://github.com/tcdent/php-restclient/issues" }, "require": { - "php": ">=8.2", + "php": ">=8.3", "ext-curl": "*", "ext-json": "*" }, "require-dev": { - "php": ">=8.2", + "php": ">=8.3", "phpunit/phpunit": ">=9.6" }, "autoload": {