AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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

            $term = TermFactory::getTermByTermCode($this->intern->getTerm());
Severity: Minor
Found in class/EditInternshipFormView.php by phan

Call to method addHidden from undeclared class \PHPWS_Form
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method getUsername from undeclared class \Current_User
Open

                $depts = DepartmentFactory::getDepartmentsAssocForUsername(\Current_User::getUsername());
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

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

Call to method setLabel from undeclared class \PHPWS_Form
Open

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

Call to method addSelect from undeclared class \PHPWS_Form
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method addText from undeclared class \PHPWS_Form
Open

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

Call to method setLabel from undeclared class \PHPWS_Form
Open

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

Call to method addText from undeclared class \PHPWS_Form
Open

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

Call to method addSelect from undeclared class \PHPWS_Form
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method getDisplayName from undeclared class \Current_User
Open

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

Parameter $message has undeclared type \Symfony\Component\Mime\Email (Did you mean class \Intern\Email\Email)
Open

    protected static function sendSwiftMessage(\Symfony\Component\Mime\Email $message)
Severity: Minor
Found in class/Email/Email.php by phan

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

        if($message->getCc() != null){
Severity: Critical
Found in class/Email/Email.php by phan

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

            foreach($message->getCc() as $address => $name){
Severity: Critical
Found in class/Email/Email.php by phan

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

        fprintf($fd, "From: %s\n", $message->getFrom()[0]->getAddress(), $message->getFrom()[0]->getName());
Severity: Critical
Found in class/Email/Email.php by phan

Call to method getRow from undeclared class \PHPWS_DB
Open

        $row = \PHPWS_DB::getRow($sql);
Severity: Critical
Found in class/FacultyFactory.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

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