AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method set from undeclared class \PHPWS_Settings
Open

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

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','emailDomain',$_REQUEST['emailDomain']);
Severity: Critical
Found in class/Command/SettingsRest.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/SubRest.php by phan

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

        $this->httpErrorMessage = '';
Severity: Minor
Found in class/DataProvider/Curl.php by phan

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

        $this->errorMessage = $this->curlError ? $this->curlErrorMessage : $this->httpErrorMessage;
Severity: Minor
Found in class/DataProvider/Curl.php by phan

Call to method addWhere from undeclared class \PHPWS_DB
Open

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

Call to method isDeity from undeclared class \Current_User
Open

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

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', NotifyUI::ERROR, 'You do not have permission to create new internships.');
Severity: Critical
Found in class/Command/ShowAddInternship.php by phan

Call to method home from undeclared class \PHPWS_Core
Open

            \PHPWS_Core::home();
Severity: Critical
Found in class/Command/ShowAddInternship.php by phan

Reference to undeclared property \Intern\DataProvider\Student\WebServiceDataProvider->client
Open

        return $this->client->GetInternInfo($params);

Call to method __construct from undeclared class \BannerPermissionException (Did you mean class \Intern\Exception\BannerPermissionException)
Open

            throw new \BannerPermissionException('You do not have permission to access student data.');

Call to method update from undeclared class \PHPWS_DB
Open

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

Saw an @override annotation for method \Intern\Department::getDb, but could not find an overridden method and it is not a magic method
Open

    public static function getDb(){
Severity: Info
Found in class/Department.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 edit admin settings.');
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method save from undeclared class \PHPWS_Settings
Open

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

Call to method close from undeclared class \NQ
Open

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

Call to method reroute from undeclared class \PHPWS_Core
Open

            \PHPWS_Core::reroute('index.php');
Severity: Critical
Found in class/Command/ShowInternship.php by phan

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

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

Return type of getFacultyMember() is undeclared type \Intern\DataProvider\Student\stdClass (Did you mean class \stdClass)
Open

    public abstract function getFacultyMember($facultyId);

Declaration of function getStudent(string $studentId) : \Intern\Student should be compatible with function getStudent(string $studentId) : \Intern\DataProvider\Student\Intern\Student defined in /code/class/DataProvider/Student/StudentDataProvider.php:39
Open

    public function getStudent($studentId){
Severity
Category
Status
Source
Language