diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a34e2a3..8c06b22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ jobs: strategy: matrix: include: + - php: 8.2 + laravel: ^10.0 + - php: 8.1 + laravel: ^10.0 - php: 8.1 laravel: ^9.0 - php: 8.1 diff --git a/composer.json b/composer.json index 6b64a5c..1dd0a93 100644 --- a/composer.json +++ b/composer.json @@ -10,13 +10,13 @@ "license": "MIT", "minimum-stability": "stable", "require": { - "laravel/framework": "^8|^9", - "spatie/sheets": "^1.7" + "laravel/framework": "^8|^9|^10", + "spatie/sheets": "^1.10" }, "require-dev": { "brianium/paratest": "^6.2", "nunomaduro/collision": "^5|^6", - "orchestra/testbench": "^6.15|^7", + "orchestra/testbench": ">=6.15", "squizlabs/php_codesniffer": "^3.5" }, "autoload": { diff --git a/tests/InstallTest.php b/tests/InstallTest.php index 68314dc..77ca365 100644 --- a/tests/InstallTest.php +++ b/tests/InstallTest.php @@ -16,7 +16,9 @@ public function it_can_be_installed() $output = Artisan::output(); - if ((int) app()->version()[0] >= 9) { + $version = explode('.', app()->version())[0]; + + if ((int) $version >= 9) { $this->assertStringContainsString('DONE', $output); } else { $this->assertStringContainsString('Copied File', $output);