diff --git a/composer.json b/composer.json index 133e79e..c6e033f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,6 @@ "statamic/cms": "^3.4 || ^4 || ^5" }, "require-dev": { - "facade/ignition-contracts": "^1.0", "laravel/pint": "^1.15", "nunomaduro/collision": "^4.2 || ^5.0 || ^6.1 || ^8.1", "orchestra/testbench": "^7.0 || ^8.0 || ^9.0" diff --git a/src/Exceptions/IncorrectEngineException.php b/src/Exceptions/IncorrectEngineException.php deleted file mode 100644 index 6d8d934..0000000 --- a/src/Exceptions/IncorrectEngineException.php +++ /dev/null @@ -1,23 +0,0 @@ -message = 'The `stefangalescu/statamic-heroicons` addon requires the `runtime` Antlers engine.'; - } - - public function getSolution(): Solution - { - return new IncorrectEngineSolution(); - } -} diff --git a/src/Exceptions/Solutions/IncorrectEngineSolution.php b/src/Exceptions/Solutions/IncorrectEngineSolution.php deleted file mode 100644 index 0967578..0000000 --- a/src/Exceptions/Solutions/IncorrectEngineSolution.php +++ /dev/null @@ -1,25 +0,0 @@ - 'https://statamic.dev/new-antlers-parser#about', - ]; - } -} diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 853b8b1..eaf099f 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -3,7 +3,6 @@ namespace StefanGalescu\Heroicons; use Statamic\Providers\AddonServiceProvider; -use StefanGalescu\Heroicons\Exceptions\IncorrectEngineException; class ServiceProvider extends AddonServiceProvider { @@ -13,10 +12,6 @@ class ServiceProvider extends AddonServiceProvider public function bootAddon() { - $antlersEngine = config('statamic.antlers.version'); - - if ($antlersEngine !== 'runtime') { - throw new IncorrectEngineException(); - } + } }