From d2d10cdbbc61cfb2fecb57a35cbf173bde44e626 Mon Sep 17 00:00:00 2001 From: Ben Sherred Date: Wed, 13 Mar 2024 17:28:37 +0000 Subject: [PATCH 1/2] feat: add Laravel 11 support --- .github/workflows/tests.yml | 2 +- README.md | 2 +- composer.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b1e84d6..cbb5a93 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: fail-fast: true matrix: php: [ 8.2, 8.3 ] - laravel: [ 10.* ] + laravel: [ 10.*, 11.* ] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/README.md b/README.md index 546e966..3f37b70 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ A collection of helpful tools for building Laravel projects. To get started, install Laravel DevTools via the Composer package manager: -```bash +```shell composer require red-explosion/laravel-devtools --dev ``` diff --git a/composer.json b/composer.json index a7e7594..1075334 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^10.0" + "illuminate/support": "^10.0|^11.0" }, "require-dev": { "aws/aws-sdk-php": "^3.293", "laravel/pint": "^1.10", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^2.6", "pestphp/pest-plugin-arch": "^2.1", "phpstan/phpstan": "^1.10", From 2c9f6d2ed691f93eade39a94df69c223de58cc98 Mon Sep 17 00:00:00 2001 From: Ben Sherred Date: Wed, 13 Mar 2024 17:30:28 +0000 Subject: [PATCH 2/2] chore: linting --- tests/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index fa40e5b..5f266f3 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -14,7 +14,7 @@ abstract class TestCase extends Orchestra protected function getPackageProviders($app): array { return [ - DevtoolsServiceProvider::class, + DevToolsServiceProvider::class, ]; }