ampache/ampache

View on GitHub
public/graph.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to constant class from undeclared class \Ampache\Module\Application\StatisticGraph\ShowAction (Did you mean class \Ampache\Module\Application\PhpInfo\ShowAction or class \Ampache\Module\Application\WebPlayer\ShowAction)
Open

        ShowAction::REQUEST_KEY => ShowAction::class,
Severity: Critical
Found in public/graph.php by phan

Reference to constant class from undeclared class \Ampache\Module\Application\ApplicationRunner
Open

$dic->get(ApplicationRunner::class)->run(
Severity: Critical
Found in public/graph.php by phan

Reference to constant class from undeclared class \Nyholm\Psr7Server\ServerRequestCreatorInterface
Open

    $dic->get(ServerRequestCreatorInterface::class)->fromGlobals(),
Severity: Critical
Found in public/graph.php by phan

Reference to constant REQUEST_KEY from undeclared class \Ampache\Module\Application\StatisticGraph\ShowAction (Did you mean class \Ampache\Module\Application\PhpInfo\ShowAction or class \Ampache\Module\Application\WebPlayer\ShowAction)
Open

        ShowAction::REQUEST_KEY => ShowAction::class,
Severity: Critical
Found in public/graph.php by phan

Possibly zero references to use statement for classlike/namespace ContainerInterface (\Psr\Container\ContainerInterface)
Open

use Psr\Container\ContainerInterface;
Severity: Minor
Found in public/graph.php by phan

Reference to constant REQUEST_KEY from undeclared class \Ampache\Module\Application\StatisticGraph\ShowAction (Did you mean class \Ampache\Module\Application\PhpInfo\ShowAction or class \Ampache\Module\Application\WebPlayer\ShowAction)
Open

    ShowAction::REQUEST_KEY
Severity: Critical
Found in public/graph.php by phan

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 33 and the first side effect is on line 36.
Open

<?php
Severity: Minor
Found in public/graph.php by phpcodesniffer

There are no issues that match your filters.

Category
Status