AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method addCssClass from undeclared class \PHPWS_Form
Open

            $this->form->addCssClass('term', 'form-control');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addText from undeclared class \PHPWS_Form
Open

        $this->form->addText('start_date');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addCssClass from undeclared class \PHPWS_Form
Open

        $this->form->addCssClass('end_date', 'form-control');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addSelect from undeclared class \PHPWS_Form
Open

        $this->form->addSelect('course_subj', $subjects);
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addRadioAssoc from undeclared class \PHPWS_Form
Open

        $this->form->addRadioAssoc('payment', $pay);
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addSelect from undeclared class \PHPWS_Form
Open

            $this->form->addSelect('level', $level);
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addWHere from undeclared class \PHPWS_DB
Open

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

@throws type of delete has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public static function delete(EmergencyContact $contact)
Severity: Minor
Found in class/EmergencyContactFactory.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'gradSchoolEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getDistanceEdEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getDistanceEdEmail()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

        $tags['STUDENT_BANNER'] = PHPWS_Text::moduleLink($this->getBannerId(), 'intern', array('action' => 'ShowInternship', 'internship_id' => $this->id));
Severity: Critical
Found in class/Internship.php by phan

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

        return $this->id;
Severity: Minor
Found in class/Internship.php by phan

Call to method cell from undeclared class \setasign\Fpdi\Fpdi
Open

        $this->pdf->cell(55, 5, $this->internship->getFullName());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method cell from undeclared class \setasign\Fpdi\Fpdi
Open

        $this->pdf->cell(12, 5, $this->internship->getCreditHours());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method cell from undeclared class \setasign\Fpdi\Fpdi
Open

        $this->pdf->cell(12, 5, $this->internship->getAvgHoursPerWeek());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method cell from undeclared class \setasign\Fpdi\Fpdi
Open

        $this->pdf->cell(71, 6, $h->getMainName());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

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

use Intern\UI\NotifyUI;
Severity: Minor
Found in class/InternshipInventory.php by phan

Call to undeclared function \disallow()
Open

                    disallow();
Severity: Critical
Found in class/InternshipInventory.php by phan

Call to method allow from undeclared class \Current_User
Open

                if (!\Current_User::allow('intern', 'special_host')) {
Severity: Critical
Found in class/InternshipInventory.php by phan

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

        $db = Database::newDB();
Severity: Critical
Found in class/LevelFactory.php by phan
Severity
Category
Status
Source
Language