diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2334a98..4a74b27 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,9 +22,11 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] php: [8.5, 8.4, 8.3] - laravel: [12.*, 11.*] + laravel: [13.*, 12.*, 11.*] stability: [prefer-stable] include: + - laravel: 13.* + testbench: 11.* - laravel: 12.* testbench: 10.* - laravel: 11.* diff --git a/composer.json b/composer.json index af8fa57..bd3e495 100644 --- a/composer.json +++ b/composer.json @@ -19,20 +19,19 @@ "require": { "php": "^8.3", "spatie/laravel-package-tools": "^1.16", - "illuminate/contracts": "^11.0||^12.0" + "illuminate/contracts": "^11.0|^12.0|^13.0" }, "require-dev": { "laravel/pint": "^1.14", "nunomaduro/collision": "^8.8", "larastan/larastan": "^3.0", - "orchestra/testbench": "^10.0.0||^9.0.0", + "orchestra/testbench": "^9.0|^10.0|^11.0", "pestphp/pest": "^4.0", "pestphp/pest-plugin-arch": "^4.0", "pestphp/pest-plugin-laravel": "^4.0", "phpstan/extension-installer": "^1.4", "phpstan/phpstan-deprecation-rules": "^2.0", - "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^11.0 || ^12.3.4" + "phpstan/phpstan-phpunit": "^2.0" }, "autoload": { "psr-4": { diff --git a/src/Facades/Shoutout.php b/src/Facades/Shoutout.php index 58479d2..56f49fb 100644 --- a/src/Facades/Shoutout.php +++ b/src/Facades/Shoutout.php @@ -16,7 +16,7 @@ * @method static string danger() * @method static string error() * - * @see \BinaryCats\Shoutout\Shoutout + * @see ShoutoutInstance */ class Shoutout extends Facade { diff --git a/tests/TestCase.php b/tests/TestCase.php index cfe35a5..57c1e73 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,6 +4,7 @@ namespace BinaryCats\Shoutout\Tests; +use BinaryCats\Shoutout\Facades\Shoutout; use BinaryCats\Shoutout\ShoutoutServiceProvider; use Orchestra\Testbench\TestCase as Orchestra; @@ -21,7 +22,7 @@ protected function getPackageProviders($app): array protected function getPackageAliases($app): array { return [ - 'Shoutout' => \BinaryCats\Shoutout\Facades\Shoutout::class, + 'Shoutout' => Shoutout::class, ]; }