BaguettePHP/mastodon-api

View on GitHub
sample/inc/bootstrap.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method required from undeclared class \Dotenv\Dotenv
Open

    $dotenv->required('MY_PHP_ENV');
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method __construct from undeclared class \Whoops\Handler\PrettyPageHandler
Open

        $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method pushHandler from undeclared class \Whoops\Run
Open

        $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method __construct from undeclared class \Whoops\Run
Open

        $whoops = new \Whoops\Run;
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method required from undeclared class \Dotenv\Dotenv
Open

    $dotenv->required('SERVICE_BASE_URL');
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method register from undeclared class \Whoops\Run
Open

        $whoops->register();
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method __construct from undeclared class \Dotenv\Dotenv
Open

    $dotenv = new Dotenv\Dotenv(dirname(__DIR__));
Severity: Critical
Found in sample/inc/bootstrap.php by phan

Call to method load from undeclared class \Dotenv\Dotenv
Open

    $dotenv->load();
Severity: Critical
Found in sample/inc/bootstrap.php by phan

There are no issues that match your filters.

Category
Status