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: App\Controller\SnippetController::isValidRepositoryName(): Argument #1 ($repository) must be of t...

sentry-io opened this issue · comments

Sentry Issue: BADGE-POSER-90

TypeError: App\Controller\SnippetController::isValidRepositoryName(): Argument #1 ($repository) must be of type string, null given, called in /application/src/Controller/SnippetController.php on line 24
  File "/src/Controller/SnippetController.php", line 52, in App\Controller\SnippetController::isValidRepositoryName
    private function isValidRepositoryName(string $repository): bool
  File "/src/Controller/SnippetController.php", line 24, in App\Controller\SnippetController::all
    if (!$this->isValidRepositoryName($repository)) {
  File "/public/index.php", line 5
    require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(3 additional frame(s) were not displayed)