Skip to content

Commit

Permalink
Added missing factory spec for ErrorReportHandler.
Browse files Browse the repository at this point in the history
local.php.dist: removed an unnecessary use statement.

Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed Jun 13, 2024
1 parent 0cdb1c2 commit 3142016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/autoload/local.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

declare(strict_types=1);

use Api\App\Entity\EntityListenerResolver;

$baseUrl = 'http://localhost:8080';

$databases = [
Expand Down
2 changes: 2 additions & 0 deletions src/App/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Api\App\Factory\EntityListenerResolverFactory;
use Api\App\Factory\RouteListCommandFactory;
use Api\App\Factory\TokenGenerateCommandFactory;
use Api\App\Handler\ErrorReportHandler;
use Api\App\Handler\HomeHandler;
use Api\App\Middleware\AuthenticationMiddleware;
use Api\App\Middleware\AuthorizationMiddleware;
Expand Down Expand Up @@ -70,6 +71,7 @@ public function getDependencies(): array
TwigExtension::class => TwigExtensionFactory::class,
TwigRenderer::class => TwigRendererFactory::class,
HomeHandler::class => AttributedServiceFactory::class,
ErrorReportHandler::class => AttributedServiceFactory::class,
ErrorResponseMiddleware::class => AttributedServiceFactory::class,

Check warning on line 75 in src/App/src/ConfigProvider.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

Undefined class 'AttributedServiceFactory'
RouteListCommand::class => RouteListCommandFactory::class,
TokenGenerateCommand::class => TokenGenerateCommandFactory::class,
Expand Down

0 comments on commit 3142016

Please sign in to comment.