Skip to content

Commit

Permalink
Merge pull request #312 from dotkernel/issue-311
Browse files Browse the repository at this point in the history
Issue #311: Upgraded `dot-errorhandler` to `4.x`
  • Loading branch information
arhimede authored Aug 30, 2024
2 parents 8038038 + 59bc880 commit 5cac6b3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"dotkernel/dot-cli": "^3.5.0",
"dotkernel/dot-data-fixtures": "^1.2.2",
"dotkernel/dot-dependency-injection": "^1.0",
"dotkernel/dot-errorhandler": "^3.3.2",
"dotkernel/dot-errorhandler": "^4.0.0",
"dotkernel/dot-mail": "^4.1.1",
"dotkernel/dot-response-header": "^3.2.3",
"laminas/laminas-component-installer": "^3.4.0",
Expand Down
4 changes: 2 additions & 2 deletions config/autoload/error-handling.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
declare(strict_types=1);

use Api\App\Service\ErrorReportServiceInterface;
use Laminas\Log\Formatter\Json;
use Laminas\Log\Logger;
use Dot\Log\Formatter\Json;
use Dot\Log\Logger;

return [
'dot-errorhandler' => [
Expand Down
1 change: 0 additions & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
Laminas\Filter\ConfigProvider::class,
Laminas\HttpHandlerRunner\ConfigProvider::class,
Laminas\Hydrator\ConfigProvider::class,
Laminas\Log\ConfigProvider::class,
Laminas\Mail\ConfigProvider::class,
Laminas\Paginator\ConfigProvider::class,
Laminas\Validator\ConfigProvider::class,
Expand Down
2 changes: 1 addition & 1 deletion src/User/src/Service/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
use Api\User\Repository\UserRepository;
use Api\User\Repository\UserResetPasswordRepository;
use Dot\DependencyInjection\Attribute\Inject;
use Dot\Log\LoggerInterface;
use Dot\Mail\Exception\MailException;
use Dot\Mail\Service\MailService;
use Laminas\Log\LoggerInterface;
use Mezzio\Template\TemplateRendererInterface;
use RuntimeException;

Expand Down
2 changes: 1 addition & 1 deletion test/Unit/User/Service/UserServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
use Api\User\Repository\UserResetPasswordRepository;
use Api\User\Service\UserRoleService;
use Api\User\Service\UserService as Subject;
use Dot\Log\LoggerInterface;
use Dot\Mail\Service\MailService;
use Exception;
use Laminas\Log\LoggerInterface;
use Mezzio\Template\TemplateRendererInterface;
use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 5cac6b3

Please sign in to comment.