Skip to content

Commit 5cac6b3

Browse files
authored
Merge pull request #312 from dotkernel/issue-311
Issue #311: Upgraded `dot-errorhandler` to `4.x`
2 parents 8038038 + 59bc880 commit 5cac6b3

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"dotkernel/dot-cli": "^3.5.0",
5656
"dotkernel/dot-data-fixtures": "^1.2.2",
5757
"dotkernel/dot-dependency-injection": "^1.0",
58-
"dotkernel/dot-errorhandler": "^3.3.2",
58+
"dotkernel/dot-errorhandler": "^4.0.0",
5959
"dotkernel/dot-mail": "^4.1.1",
6060
"dotkernel/dot-response-header": "^3.2.3",
6161
"laminas/laminas-component-installer": "^3.4.0",

config/autoload/error-handling.global.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
declare(strict_types=1);
44

55
use Api\App\Service\ErrorReportServiceInterface;
6-
use Laminas\Log\Formatter\Json;
7-
use Laminas\Log\Logger;
6+
use Dot\Log\Formatter\Json;
7+
use Dot\Log\Logger;
88

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

config/config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
Laminas\Filter\ConfigProvider::class,
2626
Laminas\HttpHandlerRunner\ConfigProvider::class,
2727
Laminas\Hydrator\ConfigProvider::class,
28-
Laminas\Log\ConfigProvider::class,
2928
Laminas\Mail\ConfigProvider::class,
3029
Laminas\Paginator\ConfigProvider::class,
3130
Laminas\Validator\ConfigProvider::class,

src/User/src/Service/UserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
use Api\User\Repository\UserRepository;
1919
use Api\User\Repository\UserResetPasswordRepository;
2020
use Dot\DependencyInjection\Attribute\Inject;
21+
use Dot\Log\LoggerInterface;
2122
use Dot\Mail\Exception\MailException;
2223
use Dot\Mail\Service\MailService;
23-
use Laminas\Log\LoggerInterface;
2424
use Mezzio\Template\TemplateRendererInterface;
2525
use RuntimeException;
2626

test/Unit/User/Service/UserServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use Api\User\Repository\UserResetPasswordRepository;
1717
use Api\User\Service\UserRoleService;
1818
use Api\User\Service\UserService as Subject;
19+
use Dot\Log\LoggerInterface;
1920
use Dot\Mail\Service\MailService;
2021
use Exception;
21-
use Laminas\Log\LoggerInterface;
2222
use Mezzio\Template\TemplateRendererInterface;
2323
use PHPUnit\Framework\TestCase;
2424

0 commit comments

Comments
 (0)