AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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

    public static function getInternshipById($id)
Severity: Minor
Found in class/InternshipFactory.php by phan

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

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

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

            $this->pdf->cell(52, 0, $firstContact->getName());
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

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

    public static function getPendingInternshipsByTerm(Term $term)
Severity: Minor
Found in class/InternshipFactory.php by phan

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

        $this->pdf->setSourceFile(PHPWS_SOURCE_DIR . 'mod/intern/pdf/Acknowledgment_Updated_202120.pdf');
Severity: Minor
Found in class/InternshipContractPdfView.php by phan

Argument 1 (termCode) is int but \Intern\TermFactory::getTermByTermCode() takes string defined at /code/class/TermFactory.php:32
Open

                $term = \Intern\TermFactory::getTermByTermCode($i->getTerm());
Severity: Minor
Found in class/InternshipInventory.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, "There are less than three future terms available. It's probably time to add a new term.");
Severity: Critical
Found in class/InternshipInventory.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', UI\NotifyUI::WARNING, "The course section number you entered looks like a distance ed course. Be sure to check the Distance Ed option, or double check the section number.");
Severity: Critical
Found in class/InternshipView.php by phan

Call to method allow from undeclared class \Current_User
Open

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

Returning type int but save() is declared to return \Intern\new
Open

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

Call to undeclared method \Intern\Command\MajorRest::execute
Open

                $ctrl->execute();
Severity: Critical
Found in class/InternshipInventory.php by phan

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

        $this->pdf->setFont('Times', null, 10);
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method mergeTemplate from undeclared class \PHPWS_Form
Open

        $form->mergeTemplate($tpl);
Severity: Critical
Found in class/InternshipView.php by phan

Call to method getTemplate from undeclared class \PHPWS_Form
Open

        return \PHPWS_Template::process($form->getTemplate(), 'intern', 'internshipView.tpl');
Severity: Critical
Found in class/InternshipView.php by phan

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

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

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, "This student's 'level' is not set in Banner. This could mean this student is not currently enrolled.");
Severity: Critical
Found in class/InternshipView.php by phan

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

        $this->pdf->cell(54, 5, $this->internship->getEmailAddress() . '@appstate.edu');
Severity: Critical
Found in class/InternshipContractPdfView.php by phan

Call to method simple from undeclared class \NQ
Open

          \NQ::simple('intern', UI\NotifyUI::WARNING, "The start date you selected is outside the dates of the term. If correct, fill out the <a target='_blank' href=\"https:\/\/registrar.appstate.edu/resources/forms\">Meeting Dates Exception Form</a>.");
Severity: Critical
Found in class/InternshipView.php by phan

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

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

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

            $this->pdf->setXY(28, 120);
Severity: Critical
Found in class/InternshipContractPdfView.php by phan
Severity
Category
Status
Source
Language