AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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 select from undeclared class \PHPWS_DB
Open

        $result = $db->select('row');
Severity: Critical
Found in class/AffiliationAgreementFactory.php by phan

Saw possibly unextractable annotation for a fragment of comment '* @param AffiliationAgreement': after AffiliationAgreement, did not see an element name (will guess based on comment order)
Open

     * @param AffiliationAgreement

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

use Intern\ChangeHistory;
Severity: Minor
Found in class/Command/AddInternship.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 add Affiliation Agreements.');

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

        $db = Database::newDB();
Severity: Critical
Found in class/Command/AffiliateStateRest.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 Hosts.');
Severity: Critical
Found in class/Command/ConditionRest.php by phan

Call with 1 arg(s) to \Intern\EmergencyContact::getPhone() which only takes 0 arg(s) defined at /code/class/EmergencyContact.php:106
Open

            $phone = $contact->getPhone($copyId);

Call to method reroute from undeclared class \PHPWS_Core
Open

            return \PHPWS_Core::reroute('index.php?module=intern&action=ShowInternship&internship_id=' . $id);
Severity: Critical
Found in class/Command/DeleteInternship.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 addWhere from undeclared class \PHPWS_DB
Open

        $db->addWhere('internship_id', $internship->getId());
Severity: Critical
Found in class/ChangeHistoryFactory.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, "Banner ID must be in Student box before creating internship.");
Severity: Critical
Found in class/Command/AddInternship.php by phan

Call to method isLogged from undeclared class \Current_User
Open

        if(!\Current_User::isLogged()){
Severity: Critical
Found in class/Command/EmergencyContactRest.php by phan

Call to method getUsername from undeclared class \Current_User
Open

            $departments = \Intern\DepartmentFactory::getDepartmentsAssocForUsername(\Current_User::getUsername());
Severity: Critical
Found in class/Command/GetDepartments.php by phan

Call to method isLogged from undeclared class \Current_User
Open

        if(!\Current_User::isLogged()){
Severity: Critical
Found in class/Command/HostRest.php by phan

Suspicious array access to nullable ?array
Open

        $avg_hours_week = (int) $_REQUEST['avg_hours_week'];
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

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

Suspicious array access to nullable ?array
Open

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

Call to method getDescription on non-class type null
Open

                $i->major_description = $majors[0]->getDescription();
Severity: Critical
Found in class/Command/SaveInternship.php by phan

Invalid offset 0 of array type array{}
Open

                $i->major_description = $majors[0]->getDescription();
Severity: Minor
Found in class/Command/SaveInternship.php by phan
Severity
Category
Status
Source
Language