diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3cec8dc..06948b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,16 @@ jobs: fail-fast: true matrix: php: [8.1, 8.2] - laravel: [10.*] + laravel: [10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - php: 8.1 + laravel: 11.* include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 86e1045..cb337b7 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^8.1", - "laravel/framework": "^10.0" + "laravel/framework": "^10.0|^11.0" }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^8.0", - "phpunit/phpunit": "^9.3.3", + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.5", "squizlabs/php_codesniffer": "^3.6" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f2eebe0..53bceab 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,22 +1,17 @@ - +> tests - - + + src/ - - + + diff --git a/tests/Unit/BustTest.php b/tests/Unit/BustTest.php index 4492292..bd76577 100644 --- a/tests/Unit/BustTest.php +++ b/tests/Unit/BustTest.php @@ -8,7 +8,7 @@ use Illuminate\Filesystem\Filesystem; use Mockery as m; -class BustTest extends UnitTest +class BustTest extends UnitTestCase { /** * @var \Illuminate\Contracts\Config\Repository|\Mockery\MockInterface diff --git a/tests/Unit/UnitTest.php b/tests/Unit/UnitTestCase.php similarity index 81% rename from tests/Unit/UnitTest.php rename to tests/Unit/UnitTestCase.php index 44ea8a2..0fb0e15 100644 --- a/tests/Unit/UnitTest.php +++ b/tests/Unit/UnitTestCase.php @@ -5,7 +5,7 @@ use Mockery; use PHPUnit\Framework\TestCase; -abstract class UnitTest extends TestCase +abstract class UnitTestCase extends TestCase { /** * @void