AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method addText from undeclared class \PHPWS_Form
Open

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

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $this->form->setLabel('remote_state', 'Remote State');
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

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

Call to method allow from undeclared class \Current_User
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method addCssClass from undeclared class \PHPWS_Form
Open

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

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

        $fd = fopen(PHPWS_SOURCE_DIR . 'logs/email.log',"a");
Severity: Minor
Found in class/Email/Email.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

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

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

            throw new Exception($row);
Severity: Critical
Found in class/FacultyFactory.php by phan

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

    public function getDb()
Severity: Info
Found in class/FacultySupervisor.php by phan

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

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

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

Call to method getUsername from undeclared class \Current_User
Open

        $this->tpl['USER'] = \Current_User::getUsername();
Severity: Critical
Found in class/Email/BackgroundCheckEmail.php by phan

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

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

Argument 1 (message) is \Intern\Email\Symfony\Component\Mime\Email but \Intern\Email\Email::sendSwiftMessage() takes \Symfony\Component\Mime\Email defined at /code/class/Email/Email.php:163
Open

        $this->sendSwiftMessage($message);
Severity: Minor
Found in class/Email/Email.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

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

Expected @param annotation for internship to be before the @param annotation for term
Open

    * @param Term $term

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

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

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

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

Call to method addOrder from undeclared class \PHPWS_DB
Open

        $db->addOrder('id ASC'); // Get them in order of ID, so earliest contacts come first
Severity: Critical
Found in class/EmergencyContactFactory.php by phan
Severity
Category
Status
Source
Language