AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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

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

Call to method isDeity from undeclared class \Current_User
Open

        if (!\Current_User::isDeity()) {
Severity: Critical
Found in class/EditInternshipFormView.php by phan

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

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

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

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

Required argument follows optional
Open

    public function __construct(Internship $internship, Student $student = null, WorkflowState $wfState, SubHost $host, Supervisor $supervisor, Term $term, $studentExistingCreditHours) {
Severity: Info
Found in class/InternshipView.php by phan

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method setMatch from undeclared class \PHPWS_Form
Open

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

Call to method saveObject from undeclared class \PHPWS_DB
Open

            $result = $db->saveObject($this);
Severity: Critical
Found in class/Internship.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

Return type of buildSwiftMessage() is undeclared type \Intern\Email\Symfony\Component\Mime\Email (Did you mean class \Intern\Email\Email)
Open

    protected static function buildSwiftMessage($to, $fromAddress, $fromName, $subject, $content, $cc = NULL, $bcc = NULL){
Severity: Minor
Found in class/Email/Email.php by phan

Call to undeclared method \Intern\Model::getDb
Open

        $db = $this->getDb();
Severity: Critical
Found in class/Model.php by phan

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

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

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

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

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

require_once PHPWS_SOURCE_DIR . 'mod/intern/vendor/autoload.php';
Severity: Minor
Found in class/Email/Email.php by phan

Call to method logIfError from undeclared class \PHPWS_Error
Open

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

Call to method __construct from undeclared class \PHPWS_DB
Open

        $db = new \PHPWS_DB('intern_emergency_contact');
Severity: Critical
Found in class/EmergencyContactFactory.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

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

Call to method addWhere from undeclared class \PHPWS_DB
Open

        $db->addWhere('abbr', $abbr);
Severity: Critical
Found in class/State.php by phan

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

        $this->pdf->cell(30, 5, $this->term->getEndDateFormatted(), 0, 0, 'C');
Severity: Critical
Found in class/InternshipContractPdfView.php by phan
Severity
Category
Status
Source
Language