diff --git a/composer.json b/composer.json index e2427d8..b66dd59 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,14 @@ } }, "require": { + "php": "^8.2", "archtechx/enums": "^1.0", "beberlei/assert": "^3.3", - "statamic/cms": "^4.0|^5.0" + "statamic/cms": "^4.0|^5.0|^6.0" }, "require-dev": { "larastan/larastan": "^3.4", - "orchestra/testbench": "^10.3", + "orchestra/testbench": "^10.3|^11.0", "pestphp/pest": "^3.0", "pestphp/pest-plugin-type-coverage": "^3.1", "tightenco/duster": "^3.0" diff --git a/config/flexipics.php b/config/flexipics.php index 88dd8fc..a8da1f9 100644 --- a/config/flexipics.php +++ b/config/flexipics.php @@ -1,5 +1,7 @@ Pktharindu\FlexiPics\FlexiPics::class, + 'picture_builder' => FlexiPics::class, /* |-------------------------------------------------------------------------- diff --git a/tests/TestCase.php b/tests/TestCase.php index 7ff2b21..dddeb8d 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,8 +4,10 @@ use Illuminate\Foundation\Application; use Orchestra\Testbench\TestCase as OrchestraTestCase; -use Statamic\Extend\Manifest; +use Pktharindu\FlexiPics\ServiceProvider; +use Statamic\Addons\Manifest; use Statamic\Facades\Stache; +use Statamic\Providers\StatamicServiceProvider; use Statamic\Statamic; abstract class TestCase extends OrchestraTestCase @@ -32,8 +34,8 @@ protected function tearDown(): void protected function getPackageProviders($app): array { return [ - \Statamic\Providers\StatamicServiceProvider::class, - \Pktharindu\FlexiPics\ServiceProvider::class, + StatamicServiceProvider::class, + ServiceProvider::class, ]; }