PUGX / badge-poser

The PHP badges, renders some badges for your readme with the packagist information.

Home Page:https://poser.pugx.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Argument 1 passed to App\EventListener\BadgeSubscriber::isABadgeController() must be of the type ...

sentry-io opened this issue · comments

Sentry Issue: BADGE-POSER-8

TypeError: Argument 1 passed to App\EventListener\BadgeSubscriber::isABadgeController() must be of the type string, null given, called in /application/releases/20200514191226/src/EventListener/BadgeSubscriber.php on line 41
  File "/application/releases/20200514191226/src/EventListener/BadgeSubscriber.php", line 52, in App\EventListener\BadgeSubscriber::isABadgeController
    private function isABadgeController(string $controllerName): bool
  File "/application/releases/20200514191226/src/EventListener/BadgeSubscriber.php", line 41, in App\EventListener\BadgeSubscriber::onKernelException
    if (!$this->isABadgeController($event->getRequest()->get('_controller'))) {
  File "/index.php", line 37
    $response = $kernel->handle($request);
...
(5 additional frame(s) were not displayed)