AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method close from undeclared class \NQ
Open

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

Assigning null to property but \Intern\Internship->course_subj is string
Open

            $i->course_subj = null;
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

        $supervisor->supervisor_first_name = self::trimField($_REQUEST['supervisor_first_name']);
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

        $supervisor->supervisor_address = self::trimField($_REQUEST['supervisor_address']);
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Call to method rollback from undeclared class \PHPWS_DB
Open

            \PHPWS_DB::rollback();
Severity: Critical
Found in class/Command/SaveInternship.php by phan

Call to method simple from undeclared class \NQ
Open

                \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, $e->getMessage());
Severity: Critical
Found in class/Command/SaveInternship.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 registerPermissions from undeclared class \Users_Permission
Open

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

Call to method __construct from undeclared class \PHPWS_DB
Open

        return new \PHPWS_DB('intern_admin');
Severity: Critical
Found in class/Admin.php by phan

Call to method getUsername from undeclared class \Current_User
Open

        return self::allowed(\Current_User::getUsername(), $dept);
Severity: Critical
Found in class/Admin.php by phan

Call to method addWhere from undeclared class \Intern\PHPWS_DB
Open

        $db->addWhere('username', $username);
Severity: Critical
Found in class/Admin.php by phan

Call to method addWhere from undeclared class \Intern\PHPWS_DB
Open

        $db->addWhere('department_id', $dept);
Severity: Critical
Found in class/Admin.php by phan

@throws type of getAffiliationById has undeclared type \Intern\Exception (Did you mean class \Exception)
Open

    public static function getAffiliationById($id)
Severity: Minor
Found in class/AffiliationAgreementFactory.php by phan

Call to method __construct from undeclared class \PHPWS_DB
Open

        return new \PHPWS_DB('intern_change_history');
Severity: Critical
Found in class/ChangeHistory.php by phan

Call to method addOrder from undeclared class \PHPWS_DB
Open

        $db->addOrder('timestamp ASC');
Severity: Critical
Found in class/ChangeHistoryFactory.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 newDB from undeclared class \phpws2\Database
Open

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

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

        $db = \phpws2\Database::newDB();

Call to method simple from undeclared class \NQ
Open

        \NQ::simple('intern', \Intern\UI\NotifyUI::SUCCESS, 'Continued internship for ' . $internship->getFullName() . ' to ' . $newTerm->getDescription() . '.');
Severity: Critical
Found in class/Command/CopyInternshipToNextTerm.php by phan

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

            throw new InvalidArgumentException('Missing contact phone number.');
Severity: Critical
Found in class/Command/EmergencyContactRest.php by phan
Severity
Category
Status
Source
Language