From 3ec1ff97e63ec13fdbc878721592a0f209b49f86 Mon Sep 17 00:00:00 2001 From: Njogu Amos <29255728+njoguamos@users.noreply.github.com> Date: Fri, 10 Mar 2023 20:07:51 +0300 Subject: [PATCH] Add laravel 10 support (#24) * Update composer.json * Update run-test.yml * Update composer.json --- .github/workflows/run-test.yml | 16 +++++++++++++++- composer.json | 6 +++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index e274c34..9415d82 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [ubuntu-latest] php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2 ] - laravel: [6.*, 7.*, 8.*, 9.*] + laravel: [6.*, 7.*, 8.*, 9.*, 10.*] stability: [prefer-stable] include: - laravel: 6.* @@ -26,6 +26,12 @@ jobs: - laravel: 9.* testbench: 7.* carbon: ^2.63 + - laravel: 9.* + testbench: 7.* + carbon: ^2.63 + - laravel: 10.* + testbench: 8.* + carbon: ^2.63 exclude: - laravel: 6.* php: 8.1 @@ -43,6 +49,14 @@ jobs: php: 7.3 - laravel: 9.* php: 7.4 + - laravel: 10.* + php: 7.2 + - laravel: 10.* + php: 7.3 + - laravel: 10.* + php: 7.4 + - laravel: 10.* + php: '8.0' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index e78a744..887ad00 100644 --- a/composer.json +++ b/composer.json @@ -19,13 +19,13 @@ "php": ">=7.2.5", "africastalking/africastalking": "^3.0", "guzzlehttp/guzzle": "^6.2 || ^7.0", - "illuminate/notifications": "5.5 - 9", - "illuminate/support": "5.5 - 9" + "illuminate/notifications": "5.5 - 10.0", + "illuminate/support": "5.5 - 10.0" }, "require-dev": { "mockery/mockery": "^1.3", "phpunit/phpunit": "^7.5 || ^8.5.21 || ^9.0", - "orchestra/testbench": "~5.0 || ^6.0 || ^7.0" + "orchestra/testbench": "~5.0 || ^6.0 || ^7.0 || ^8.0" }, "autoload": { "psr-4": {