From 3ab4cde815cf9f446deb8514d2e2bbd4d0efb18a Mon Sep 17 00:00:00 2001 From: Yada Clintjens Date: Fri, 24 Nov 2023 13:27:06 +0100 Subject: [PATCH] Run PHP 8.3 and update test suite --- .github/workflows/ci.yml | 5 +++-- composer.json | 2 +- phpunit.xml.dist | 9 ++++++--- phpunit.xml.legacy | 5 ++++- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21bdbe4..c6239b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: strategy: matrix: php: + - 8.3 - 8.2 - 8.1 - 8.0 @@ -24,7 +25,7 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -40,7 +41,7 @@ jobs: runs-on: ubuntu-22.04 continue-on-error: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM - name: Run hhvm composer.phar install uses: docker://hhvm/hhvm:3.30-lts-latest diff --git a/composer.json b/composer.json index 26acd78..79dbbe8 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,6 @@ "react/promise": "^2.1 || ^1.2.1" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36" + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8c5010a..108fd75 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,8 @@ - - +./src/ + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index 0b4f05b..f0bcdde 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -1,6 +1,6 @@ - + ./src/ + + +