Skip to content

Commit

Permalink
Merge pull request #284 from dotkernel/alexmerlin-patch-1
Browse files Browse the repository at this point in the history
Added missing factory spec for ErrorReportHandler. local.php.dist: removed an unnecessary use statement.
  • Loading branch information
arhimede committed Jun 13, 2024
2 parents 0cdb1c2 + 3142016 commit d6f82af
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,

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

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

Undefined class 'TwigExtension'

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

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

Undefined class 'TwigExtensionFactory'
TwigRenderer::class => TwigRendererFactory::class,

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

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

Undefined class 'TwigRendererFactory'

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

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

Undefined class 'TwigRenderer'
HomeHandler::class => AttributedServiceFactory::class,

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

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Undefined class

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

0 comments on commit d6f82af

Please sign in to comment.