diff --git a/composer.json b/composer.json index 28a0747..4aeaa39 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,6 @@ "dotkernel/dot-navigation": "^3.4.2", "dotkernel/dot-flashmessenger": "^3.4.2", "laminas/laminas-form": "^3.19.1", - "doctrine/doctrine-module": "^6.1.0", "dotkernel/dot-authorization": "^3.4.1" }, "require-dev": { diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 5a22162..56870be 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -4,7 +4,6 @@ namespace Dot\Twig; -use DoctrineModule\Service\Authentication\AuthenticationServiceFactory; use Dot\FlashMessenger\View\FlashMessengerRenderer; use Dot\Navigation\View\NavigationRenderer; use Dot\Twig\Extension\AuthenticationExtension; @@ -44,7 +43,6 @@ public function getDependencyConfig(): array NavigationExtension::class => NavigationExtensionFactory::class, FlashMessengerExtension::class => FlashMessengerExtensionFactory::class, FormElementsExtension::class => InvokableFactory::class, - AuthenticationService::class => AuthenticationServiceFactory::class, ], 'delegators' => [ Environment::class => [ diff --git a/test/ConfigProviderTest.php b/test/ConfigProviderTest.php index f425e78..8fb4552 100644 --- a/test/ConfigProviderTest.php +++ b/test/ConfigProviderTest.php @@ -12,7 +12,6 @@ use Dot\Twig\Extension\FlashMessengerExtension; use Dot\Twig\Extension\FormElementsExtension; use Dot\Twig\Extension\NavigationExtension; -use Laminas\Authentication\AuthenticationService; use Laminas\Authentication\AuthenticationServiceInterface; use Laminas\View\HelperPluginManager; use PHPUnit\Framework\TestCase; @@ -41,7 +40,6 @@ public function testDependenciesHasFactories(): void $this->assertArrayHasKey(NavigationExtension::class, $this->config['dependencies']['factories']); $this->assertArrayHasKey(FlashMessengerExtension::class, $this->config['dependencies']['factories']); $this->assertArrayHasKey(FormElementsExtension::class, $this->config['dependencies']['factories']); - $this->assertArrayHasKey(AuthenticationService::class, $this->config['dependencies']['factories']); } public function testDependenciesHasAliases(): void