diff --git a/README.md b/README.md index a650825..6e2dd0e 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ [![Build Status][ico-build]][link-build] [![StyleCI][ico-styleci]][link-styleci] +> [!WARNING] +> This package has been **abandoned**. The `make:view` command is a part of Laravel +> since [v10.23.0](https://github.com/laravel/framework/releases/tag/v10.23.0), you +> should use that instead. You will still be able to install this package when using +> Laravel versions before `v10.23.0`. + This package adds a handful of view-related commands to Artisan in your Laravel project. Generate blade files that extend other views, scaffold out sections to add to those templates, and more. All from the command line we know and love! diff --git a/composer.json b/composer.json index 7ade51c..6b3ad6c 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ ], "require": { "php": "^8.1", - "laravel/framework": "^8.0 || ^9.0 || ^10.0" + "laravel/framework": "^8.0 || ^9.0 || ^10.0 < 10.23.0" }, "require-dev": { "phpunit/phpunit": "^9.0 || ^10.0", - "graham-campbell/testbench": "^5.6", + "graham-campbell/testbench": "^5.6 || ^6.0", "mockery/mockery": "^1.4" }, "autoload": { @@ -41,5 +41,6 @@ "Sven\\ArtisanView\\ServiceProvider" ] } - } + }, + "abandoned": "laravel/framework" } diff --git a/phpunit.xml b/phpunit.xml index 694d38f..52d903b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -12,7 +12,7 @@ > - ./tests/ + ./tests/ diff --git a/tests/TestCase.php b/tests/TestCase.php index 1ff482c..5684932 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -63,10 +63,9 @@ protected function view($name) } /** - * @param \Illuminate\Contracts\Foundation\Application $app * @return string */ - protected function getServiceProviderClass() + protected static function getServiceProviderClass(): string { return ServiceProvider::class; }