From 7544c0ea267912d73e06d6b923f445010e9affb0 Mon Sep 17 00:00:00 2001 From: Cesar Garcia Date: Wed, 25 Jan 2023 17:29:30 +0100 Subject: [PATCH 1/2] Remove support to Laravel 8 and php 7.4 (#89) --- .github/workflows/tests.yml | 9 ++------- composer.json | 18 +++++++++--------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8824228..1290ae9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,17 +12,12 @@ jobs: strategy: fail-fast: false matrix: - php: [8.2, 8.1, 8.0, 7.4] - laravel: [9.*, 8.*] + php: [8.2, 8.1, 8.0] + laravel: [9.*] dependency-version: [prefer-stable] - exclude: - - php: 7.4 - laravel: 9.* include: - laravel: 9.* testbench: 7.* - - laravel: 8.* - testbench: 6.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 4ec0cae..7d1980b 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,11 @@ ], "license": "MIT", "require": { - "php" : "^7.4 || ^8.0", - "illuminate/auth": "^8.0|^9.0", - "illuminate/container": "^8.0|^9.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.0|^9.0", + "php" : "^8.0", + "illuminate/auth": "^9.0", + "illuminate/container": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/database": "^9.0", "laravel/serializable-closure": "^1.0" }, "autoload": { @@ -48,10 +48,10 @@ } }, "require-dev": { - "orchestra/testbench": "^6.0|^7.0", - "phpunit/phpunit": "^7.0|^9.0", - "nunomaduro/larastan": "^1.0|^2.1", - "friendsofphp/php-cs-fixer": "^2.0|^3.9" + "orchestra/testbench": "^7.0", + "phpunit/phpunit": "^9.0", + "nunomaduro/larastan": "^2.1", + "friendsofphp/php-cs-fixer": "^3.9" }, "minimum-stability": "dev", "prefer-stable": true From 97f42b4a4f3f6ed3bf29d6717b6d8bd9ea07ff0e Mon Sep 17 00:00:00 2001 From: Cesar Garcia Date: Wed, 25 Jan 2023 17:37:11 +0100 Subject: [PATCH 2/2] Add support to Laravel 10 (#90) --- .github/workflows/tests.yml | 7 ++++++- composer.json | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1290ae9..a2d3c25 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,11 +13,16 @@ jobs: fail-fast: false matrix: php: [8.2, 8.1, 8.0] - laravel: [9.*] + laravel: [10.*, 9.*] dependency-version: [prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 7d1980b..eb099e5 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ "license": "MIT", "require": { "php" : "^8.0", - "illuminate/auth": "^9.0", - "illuminate/container": "^9.0", - "illuminate/contracts": "^9.0", - "illuminate/database": "^9.0", + "illuminate/auth": "^9.0|^10.0", + "illuminate/container": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0", + "illuminate/database": "^9.0|^10.0", "laravel/serializable-closure": "^1.0" }, "autoload": { @@ -48,7 +48,7 @@ } }, "require-dev": { - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.0", "nunomaduro/larastan": "^2.1", "friendsofphp/php-cs-fixer": "^3.9"