From 3a300b77d0c097bdc57a532f8f8b6e024cc41b24 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 5 Jun 2018 14:46:27 +0900 Subject: [PATCH 1/2] remove TwigErrorPageModule bindings --- src/TwigModule.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/TwigModule.php b/src/TwigModule.php index bf65571..d0b2ac5 100644 --- a/src/TwigModule.php +++ b/src/TwigModule.php @@ -52,8 +52,6 @@ protected function configure() $this->bindTwigEnvironment(); $this->bindTwigPaths(); $this->bindTwigOptions(); - $this->bind(RenderInterface::class)->annotatedWith('error_page')->to(ErrorPagerRenderer::class); - $this->bind(ErrorInterface::class)->to(TwigErrorHandler::class); } private function bindRender() From 4880504538d0b60e98e22605993edd1b562c2113 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 5 Jun 2018 14:48:22 +0900 Subject: [PATCH 2/2] fix cs --- src/TwigModule.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/TwigModule.php b/src/TwigModule.php index d0b2ac5..218bb54 100644 --- a/src/TwigModule.php +++ b/src/TwigModule.php @@ -7,7 +7,6 @@ namespace Madapaja\TwigModule; use BEAR\Resource\RenderInterface; -use BEAR\Sunday\Extension\Error\ErrorInterface; use Madapaja\TwigModule\Annotation\TwigLoader; use Madapaja\TwigModule\Annotation\TwigOptions; use Madapaja\TwigModule\Annotation\TwigPaths;