From 4e839e9b35d4e9c953f6e2ca22b801b20761b5de Mon Sep 17 00:00:00 2001 From: Klaas Poortinga Date: Tue, 30 Apr 2024 19:42:57 +0200 Subject: [PATCH] Add laravel 11 and php 8.3 to test cases (#14) * Add laravel 11 and php 8.3 to test cases * Update tests * Update php constraint --- .github/workflows/tests.yml | 20 ++++++++++++++++++++ composer.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 669c38a..b7d9c28 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,6 +26,10 @@ jobs: env: LARAVEL: 9.* TESTBENCH: 7.* + - php: 8.3 + env: + LARAVEL: 9.* + TESTBENCH: 7.* - php: 8.1 env: LARAVEL: 10.* @@ -34,6 +38,22 @@ jobs: env: LARAVEL: 10.* TESTBENCH: 8.* + - php: 8.2 + env: + LARAVEL: 10.* + TESTBENCH: 8.* + - php: 8.3 + env: + LARAVEL: 10.* + TESTBENCH: 8.* + - php: 8.2 + env: + LARAVEL: 11.* + TESTBENCH: 9.* + - php: 8.3 + env: + LARAVEL: 11.* + TESTBENCH: 9.* env: ${{ matrix.env }} steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 752269a..190027b 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "phpunit/phpunit": "^9.3.3|^10.1", "phpmd/phpmd": "^2.10", "squizlabs/php_codesniffer": "^3.6", - "orchestra/testbench": "^6.21|^7.0|^8.0" + "orchestra/testbench": "^6.21|^7.0|^8.0|^9.0" }, "scripts": { "phpcs": " phpcs --standard=phpcs.xml"