AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method addWhere from undeclared class \PHPWS_DB
Open

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

Call to method addColumn from undeclared class \PHPWS_DB
Open

        $db->addColumn('name');
Severity: Critical
Found in class/DepartmentFactory.php by phan

Call to undeclared function \javascript()
Open

        javascript('jquery');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to undeclared function \javascriptMod()
Open

        javascriptMod('intern', 'formGoodies', array('perm' => (string)$permAllowed, 'id' => $this->intern->getId()));
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING,
Severity: Critical
Found in class/Command/DocumentRest.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $otherDir = \PHPWS_Settings::get('filecabinet', 'base_doc_directory') . "otherDocuments/";
Severity: Critical
Found in class/Command/DocumentRest.php by phan

Variable $data was undeclared, but array fields are being added to it.
Open

            $data['message'] = 'Did not save. File not a known type.';
Severity: Info
Found in class/Command/DocumentRest.php by phan

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

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

Call to method getAll from undeclared class \PHPWS_DB
Open

        $results = \PHPWS_DB::getAll($sql);
Severity: Critical
Found in class/Command/GetHostSuggestions.php by phan

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

        $db = Database::newDB();
Severity: Critical
Found in class/Command/LevelRest.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

Suspicious array access to null
Open

            $vals[] = 'name';
Severity: Minor
Found in class/Command/SaveAffiliate.php by phan

Suspicious array access to nullable ?array
Open

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

Suspicious array access to nullable ?array
Open

            $i->campus = $_REQUEST['campus'];
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Variable $major is undeclared (Did you mean $majors)
Open

                $i->major_description = $major->getDescription();
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 close from undeclared class \NQ
Open

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

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','wsdlUri',$_REQUEST['wsdlUri']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Returning type null but getCreditHours() is declared to return int
Open

            return null;
Severity
Category
Status
Source
Language