AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method saveObject from undeclared class \PHPWS_DB
Open

            $result = $db->saveObject($obj);
Severity: Critical
Found in class/DatabaseStorage.php by phan

Call to method logIfError from undeclared class \PHPWS_Error
Open

        if (\PHPWS_Error::logIfError($result)) {
Severity: Critical
Found in class/DatabaseStorage.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 addWhere from undeclared class \PHPWS_DB
Open

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

Call to method setAction from undeclared class \PHPWS_Form
Open

            $this->form->setAction('index.php?module=intern&action=SaveInternship');
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 __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\Exception (Did you mean class \Exception)
Open

          throw new Exception('Department returned was null. Check department id.');
Severity: Critical
Found in class/Command/GetFacultyListForDept.php by phan

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

use \Intern\SubHostFactory;
Severity: Minor
Found in class/Command/HostRest.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

Assigning 0|false|int to property but \Intern\Internship->end_date is null
Open

        $i->end_date = !empty($_REQUEST['end_date']) ? strtotime($_REQUEST['end_date']) : 0;
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

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

Call to method getCode on non-class type null
Open

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

Call to method reroute from undeclared class \PHPWS_Core
Open

                return \PHPWS_Core::reroute('index.php?module=intern&action=ShowInternship&internship_id=' . $i->id);
Severity: Critical
Found in class/Command/SaveInternship.php by phan

Call to method commit from undeclared class \PHPWS_DB
Open

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

Call to method setLogged from undeclared class \PHPWS_User
Open

        $user->setLogged(true);

Call to method get from undeclared class \PHPWS_Settings
Open

        return \PHPWS_Settings::get('intern');
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method isLogged from undeclared class \Current_User
Open

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

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

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

Reference to undeclared property \Intern\DataProvider\Curl->httpErrorMessage (Did you mean expr->httpErrorMesasge)
Open

                $this->httpErrorMessage = $this->responseHeaders['Status-Line'];
Severity: Minor
Found in class/DataProvider/Curl.php by phan
Severity
Category
Status
Source
Language