AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method logIfError from undeclared class \PHPWS_Error
Open

        if (\PHPWS_Error::logIfError($result)) {
Severity: Critical
Found in class/Internship.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

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

Call to method moduleLink from undeclared class \PHPWS_Text
Open

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

Returning type string|string[] but getTerm() is declared to return int
Open

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

Return type of getPdf() is undeclared type \Intern\FPDI
Open

    public function getPdf()
Severity: Minor
Found in class/InternshipContractPdfView.php by phan

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

        $this->pdf->useTemplate($tplidx);
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

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

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

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

        $this->pdf->cell(27, 6, $this->term->getDescription());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

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

        $this->pdf->setXY(139, 117);
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

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

        $this->pdf->setXY(113, 125);
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method isDeity from undeclared class \Current_User
Open

        if(sizeof($futureTerms) < 3 && \Current_User::isDeity()){
Severity: Critical
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 undeclared function \disallow()
Open

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

Parameter $level has undeclared type \Intern\varchar
Open

    public function setLevel($level)
Severity: Minor
Found in class/Level.php by phan

Call to method saveObject from undeclared class \PHPWS_DB
Open

        return $db->saveObject($this);
Severity: Critical
Found in class/State.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $this->form->setLabel('faculty', 'Faculty Supervisor / Instructor of Record');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $this->form->setLabel('remote', 'This internship is remote.');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addCssClass from undeclared class \PHPWS_Form
Open

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

Call to method addText from undeclared class \PHPWS_Form
Open

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

Argument 2 (timestamp) is null but \date() takes int
Open

        $this->formVals['start_date'] = $this->intern->start_date ? date('m/d/Y', $this->intern->start_date) : null;
Severity: Minor
Found in class/EditInternshipFormView.php by phan
Severity
Category
Status
Source
Language