Skip to content

Commit

Permalink
Replace php-http/message-factory with laminas/laminas-httphandlerrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Eelen committed Mar 7, 2024
1 parent da111f9 commit 9cd1471
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 69 deletions.
2 changes: 1 addition & 1 deletion app/Error/ApiExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

use CultuurNet\UDB3\JwtProvider\Domain\Exception\JwtProviderExceptionInterface;
use Fig\Http\Message\StatusCodeInterface;
use Laminas\HttpHandlerRunner\Emitter\EmitterInterface;
use Psr\Http\Message\ResponseInterface;
use Slim\Psr7\Response;
use Whoops\Handler\Handler;
use Zend\HttpHandlerRunner\Emitter\EmitterInterface;

final class ApiExceptionHandler extends Handler
{
Expand Down
2 changes: 1 addition & 1 deletion app/Factory/ErrorHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

use CultuurNet\UDB3\JwtProvider\Error\ErrorLoggerHandler;
use CultuurNet\UDB3\JwtProvider\Error\ApiExceptionHandler;
use Laminas\HttpHandlerRunner\Emitter\SapiStreamEmitter;
use Psr\Log\LoggerInterface;
use Whoops\Handler\PrettyPageHandler;
use Whoops\Run;
use Whoops\RunInterface;
use Zend\HttpHandlerRunner\Emitter\SapiStreamEmitter;

final class ErrorHandlerFactory
{
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"monolog/monolog": "^1.11",
"slim/psr7": "^0.6",
"symfony/yaml": "^4.3",
"zendframework/zend-httphandlerrunner": "^1.1",
"auth0/auth0-php": "^5.7",
"beberlei/assert": "^3.2",
"cultuurnet/culturefeed-php": "^1.10",
"cultuurnet/udb3-api-guard": "^v4.0.0",
"sentry/sdk": "^2.2.0",
"php-http/message-factory": "^1.1"
"php-http/message-factory": "^1.1",
"laminas/laminas-httphandlerrunner": "^2.2"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
Expand Down
133 changes: 68 additions & 65 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cd1471

Please sign in to comment.