ampache/ampache

View on GitHub
public/batch.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to constant REQUEST_KEY from undeclared class \Ampache\Module\Application\Batch\DefaultAction
Open

    DefaultAction::REQUEST_KEY
Severity: Critical
Found in public/batch.php by phan

Reference to constant class from undeclared class \Ampache\Module\Application\Batch\DefaultAction
Open

        DefaultAction::REQUEST_KEY => DefaultAction::class,
Severity: Critical
Found in public/batch.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/batch.php by phan

Call to method exists from undeclared class \Ampache\Module\System\Session
Open

    if (!Session::exists('stream', $_REQUEST['ssid'])) {
Severity: Critical
Found in public/batch.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/batch.php by phan

Reference to constant REQUEST_KEY from undeclared class \Ampache\Module\Application\Batch\DefaultAction
Open

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

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

    $dic->get(ServerRequestCreatorInterface::class)->fromGlobals(),
Severity: Critical
Found in public/batch.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 32 and the first side effect is on line 34.
Open

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

There are no issues that match your filters.

Category
Status