AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method addTextArea from undeclared class \PHPWS_Form
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method dropElement from undeclared class \PHPWS_Form
Open

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

Call to method getTextBody from undeclared class \Symfony\Component\Mime\Email (Did you mean class \Intern\Email\Email)
Open

        fprintf($fd, "%s\n\n", $message->getTextBody());
Severity: Critical
Found in class/Email/Email.php by phan

Call to method getUserObj from undeclared class \Current_User
Open

        print_r(\Current_User::getUserObj());
Severity: Critical
Found in class/Email/ExceptionEmail.php by phan

@throws type of getContactsForInternship has undeclared type \Intern\Exception (Did you mean class \Exception)
Open

    public static function getContactsForInternship(Internship $i)
Severity: Minor
Found in class/EmergencyContactFactory.php by phan

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

    public function getCSV()
Severity: Info
Found in class/Internship.php by phan

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

            return date('F j, Y', $this->end_date);
Severity: Minor
Found in class/Internship.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

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

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

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

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

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

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

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

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

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

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', UI\NotifyUI::WARNING, "This is a distance ed internship, so the course section number should be between 300 and 399.");
Severity: Critical
Found in class/InternshipView.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

Doc-block of $major in addMajor contains phpdoc param type \stdClass which is incompatible with the param type \Intern\AcademicMajor declared in the signature
Open

    * @param \stdClass $major A major object
Severity: Minor
Found in class/Student.php by phan

Call to method setExtra from undeclared class \PHPWS_Form
Open

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

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $this->form->setLabel('supervisor_last_name', 'Last Name');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addSelect from undeclared class \PHPWS_Form
Open

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

Call to method addHidden from undeclared class \PHPWS_Form
Open

            $this->form->addHidden('location', 'international');
Severity: Critical
Found in class/EditInternshipFormView.php by phan
Severity
Category
Status
Source
Language