Skip to content

Commit 1493429

Browse files
committed
Issue #277: Upgraded dot-errorhandler to version 4.x
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent cf4c309 commit 1493429

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dotkernel/dot-controller": "^3.4.3",
3535
"dotkernel/dot-data-fixtures": "^1.1.3",
3636
"dotkernel/dot-dependency-injection": "^1.0",
37-
"dotkernel/dot-errorhandler": "^3.3.2",
37+
"dotkernel/dot-errorhandler": "^4.0.0",
3838
"dotkernel/dot-flashmessenger": "^3.4.2",
3939
"dotkernel/dot-geoip": "^3.6.0",
4040
"dotkernel/dot-helpers": "^3.4.2",

config/autoload/error-handling.global.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
declare(strict_types=1);
44

5-
use Laminas\Log\Formatter\Json;
6-
use Laminas\Log\Logger;
5+
use Dot\Log\Formatter\Json;
6+
use Dot\Log\Logger;
77

88
return [
99
'dot-errorhandler' => [

src/Admin/src/Controller/AdminController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
use Dot\Controller\AbstractActionController;
2525
use Dot\DependencyInjection\Attribute\Inject;
2626
use Dot\FlashMessenger\FlashMessengerInterface;
27+
use Dot\Log\Logger;
2728
use Fig\Http\Message\RequestMethodInterface;
2829
use Fig\Http\Message\StatusCodeInterface;
2930
use Laminas\Authentication\AuthenticationServiceInterface;
3031
use Laminas\Authentication\Exception\ExceptionInterface;
3132
use Laminas\Diactoros\Response\HtmlResponse;
3233
use Laminas\Diactoros\Response\JsonResponse;
3334
use Laminas\Diactoros\Response\RedirectResponse;
34-
use Laminas\Log\Logger;
3535
use MaxMind\Db\Reader\InvalidDatabaseException;
3636
use Mezzio\Router\RouterInterface;
3737
use Mezzio\Template\TemplateRendererInterface;

test/Unit/Admin/Controller/AdminControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
use Admin\App\Plugin\FormsPlugin;
1111
use AdminTest\Unit\UnitTest;
1212
use Dot\FlashMessenger\FlashMessengerInterface;
13+
use Dot\Log\Logger;
1314
use Laminas\Authentication\AuthenticationServiceInterface;
14-
use Laminas\Log\Logger;
1515
use Mezzio\Router\RouterInterface;
1616
use Mezzio\Template\TemplateRendererInterface;
1717
use PHPUnit\Framework\MockObject\Exception;

0 commit comments

Comments
 (0)