AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Doc-block of $data in plugStudentValues contains phpdoc param type \Intern\DataProvider\Student\stdClass which is incompatible with the param type \stdClass declared in the signature
Open

    * @param stdClass $data

Call to method getUsername from undeclared class \Current_User
Open

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

Call to method addJoin from undeclared class \PHPWS_DB
Open

            $db->addJoin('LEFT', 'intern_department', 'intern_admin', 'id', 'department_id');
Severity: Critical
Found in class/DepartmentFactory.php by phan

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

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

Call to undeclared method \Intern\WorkflowState::getAllowedPermissionList
Open

        $permAllowSave = $currentState->getAllowedPermissionList();
Severity: Critical
Found in class/EditInternshipFormView.php by phan

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

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

Call to method allow from undeclared class \Current_User
Open

            if(\Current_User::allow('intern', $p)){
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Argument 1 (termCode) is int but \Intern\TermFactory::getTermByTermCode() takes string defined at /code/class/TermFactory.php:32
Open

        $term = TermFactory::getTermByTermCode($i->getTerm());

Suspicious array access to nullable ?array
Open

            $affiliate_agreement->setName($_REQUEST['name']);
Severity: Minor
Found in class/Command/SaveAffiliate.php by phan

Suspicious array access to nullable ?array
Open

            $affiliate_agreement->setEndDate(strtotime($_REQUEST['end_date']));
Severity: Minor
Found in class/Command/SaveAffiliate.php by phan

Call to method begin from undeclared class \PHPWS_DB
Open

        \PHPWS_DB::begin();
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::WARNING, "We couldn't find a matching student in Banner. Your changes were saved, but this student probably needs to contact the Registrar's Office to re-enroll.");
Severity: Critical
Found in class/Command/SaveInternship.php by phan

Call to method isDeity from undeclared class \Current_User
Open

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

Call to method begin from undeclared class \PHPWS_DB
Open

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

Variable $notes is undeclared (Did you mean $Notes)
Open

                        'dates'=>$Date, 'flag'=>$Flag, 'notes'=>$notes);
Severity: Minor
Found in class/Command/SubRest.php by phan

Call to method getUsername from undeclared class \Current_User
Open

                return new TestMajorsProvider(\Current_User::getUsername());

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

     * @param string term

Call to method getUsername from undeclared class \Current_User
Open

            return new TestWebServiceDataProvider(\Current_User::getUsername());

Argument 1 (number) is '3.8129032260' but \round() takes float
Open

        $obj->setGpa(round('3.8129032260', 4));

Call to method addColumn from undeclared class \PHPWS_DB
Open

        $db->addColumn('id');
Severity: Critical
Found in class/DepartmentFactory.php by phan
Severity
Category
Status
Source
Language