AppStateESS/InternshipInventory

View on GitHub
index.php

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

// TODO: some sort of command pattern
Severity: Minor
Found in index.php by fixme

Call to method reroute from undeclared class \PHPWS_Core
Open

    \PHPWS_Core::reroute('../secure');
Severity: Critical
Found in index.php by phan

Call to method addStyle from undeclared class \Layout
Open

\Layout::addStyle('intern', 'style.css');
Severity: Critical
Found in index.php by phan

Call to method isLogged from undeclared class \Current_User
Open

if (!\Current_User::isLogged()) {
Severity: Critical
Found in index.php by phan

Reference to undeclared property \Exception->referrer
Open

            $e->referrer = $_SERVER['HTTP_REFERER'];
Severity: Minor
Found in index.php by phan

Call to method goBack from undeclared class \PHPWS_Core
Open

            \PHPWS_Core::goBack();
Severity: Critical
Found in index.php by phan

Call to method reroute from undeclared class \PHPWS_Core
Open

        \PHPWS_Core::reroute('index.php?module=intern');
Severity: Critical
Found in index.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

\PHPWS_Core::initModClass('intern', 'UI/TopUI.php');
Severity: Critical
Found in index.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, 'The Intern Inventory has experienced an error. The software engineers have been notified about this problem. We apologize for the inconvenience.');
Severity: Critical
Found in index.php by phan

Call to method close from undeclared class \NQ
Open

            \NQ::close();
Severity: Critical
Found in index.php by phan

Call to method add from undeclared class \Layout
Open

\Layout::add($notifications);
Severity: Critical
Found in index.php by phan

Call to method getUserObj from undeclared class \Current_User
Open

        $user = \Current_User::getUserObj();
Severity: Critical
Found in index.php by phan

Reference to undeclared property \Exception->remoteAddr
Open

        $e->remoteAddr = $_SERVER['REMOTE_ADDR'];
Severity: Minor
Found in index.php by phan

Call to method close from undeclared class \NQ
Open

        \NQ::close();
Severity: Critical
Found in index.php by phan

Call to method add from undeclared class \Layout
Open

\Layout::add($content);
Severity: Critical
Found in index.php by phan

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

require_once(PHPWS_SOURCE_DIR . 'mod/intern/inc/defines.php');
Severity: Minor
Found in index.php by phan

Reference to undeclared property \Exception->username
Open

        $e->username = $user->getUsername();
Severity: Minor
Found in index.php by phan

Reference to undeclared property \Exception->referrer
Open

            $e->referrer = 'None';
Severity: Minor
Found in index.php by phan

There are no issues that match your filters.

Category
Status