AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method initModClass from undeclared class \PHPWS_Core
Open

    PHPWS_Core::initModClass('users', 'Permission.php');
Severity: Critical
Found in boost/update.php by phan

Call to method registerPermissions from undeclared class \Users_Permission
Open

            Users_Permission::registerPermissions('intern', $content);
Severity: Critical
Found in boost/update.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

            PHPWS_Core::initModClass('users', 'Permission.php');
Severity: Critical
Found in boost/update.php by phan

Call to method process from undeclared class \PHPWS_Template
Open

        return \PHPWS_Template::process($tpl, 'intern', 'addInternship.tpl');
Severity: Critical
Found in class/AddInternshipView.php by phan

Possibly zero references to use statement for classlike/namespace NotifyUI (\Intern\UI\NotifyUI)
Open

use \Intern\UI\NotifyUI;
Severity: Minor
Found in class/Admin.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

      \PHPWS_Core::initModClass('intern', 'AffiliationAgreement.php');
Severity: Critical
Found in class/AffiliationAgreement.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/AdminRest.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to view Affiliation Agreements.');
Severity: Critical
Found in class/Command/AffiliateListRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/AgreementTypeRest.php by phan

Call to method close from undeclared class \NQ
Open

        \NQ::close();
Severity: Critical
Found in class/Command/CopyInternshipToNextTerm.php by phan

Suspicious type \Intern\new of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        return \PHPWS_Core::reroute('index.php?module=intern&action=ShowInternship&internship_id=' . $copyId);

Call to method home from undeclared class \PHPWS_Core
Open

            \PHPWS_Core::home();
Severity: Critical
Found in class/Command/DeleteInternship.php by phan

Call to method close from undeclared class \NQ
Open

            \NQ::close();
Severity: Critical
Found in class/Command/DeleteInternship.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/DeptRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/DeptRest.php by phan

Call to method __construct from undeclared class \Intern\Command\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

            throw new InvalidArgumentException('Missing internship ID.');
Severity: Critical
Found in class/Command/EmergencyContactRest.php by phan

Call to method __construct from undeclared class \Intern\Command\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

            throw new InvalidArgumentException('Missing contact email.');
Severity: Critical
Found in class/Command/EmergencyContactRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/FacultyDeptRest.php by phan

Call to method isDeity from undeclared class \Current_User
Open

        if (\Current_User::isDeity()) {
Severity: Critical
Found in class/Command/GetDepartments.php by phan

Argument 1 (id) is string|string[] but \Intern\InternshipFactory::getInternshipById() takes int defined at /code/class/InternshipFactory.php:37
Open

        $i = \Intern\InternshipFactory::getInternshipById($_REQUEST['internship_id']);
Severity: Minor
Found in class/Command/RequestDrugScreening.php by phan
Severity
Category
Status
Source
Language