AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Saw an @param annotation for targetTerm, but it was not found in the param list of function termExists(string $targetTermCode) : bool
Open

     * @param $targetTerm Term to decide if exists or not
Severity: Info
Found in class/TermFactory.php by phan

Suspicious array access to nullable ?array|null|string[]
Open

    $lastName   = $line[1];
Severity: Minor
Found in contrib/importAutosuggest.php by phan

Call to undeclared function \javascript()
Open

        javascript('jquery');
Severity: Critical
Found in class/UI/AddAgreementUI.php by phan

Call to method allow from undeclared class \Current_User
Open

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

Argument 2 (newvalue) is 1 but \ini_set() takes string
Open

ini_set('display_errors', 1);
Severity: Minor
Found in contrib/importHost.php by phan

Call to method mergeTemplate from undeclared class \PHPWS_Form
Open

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

Call to method getTemplate from undeclared class \PHPWS_Form
Open

        $v = \PHPWS_Template::process($form->getTemplate(), 'intern', 'editAffiliate.tpl');
Severity: Critical
Found in class/UI/EditAgreementUI.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', NotifyUI::WARNING,
Severity: Critical
Found in class/UI/ResultsUI.php by phan

Suspicious array access to nullable ?array|null|string[]
Open

    $values['first_name'] = $line[1];
Severity: Minor
Found in contrib/importInternships.php by phan

Call to method close from undeclared class \NQ
Open

            \NQ::close();
Severity: Critical
Found in class/UI/ResultsUI.php by phan

Suspicious array access to nullable ?array|null|string[]
Open

    $values['host_id'] = $line[13]; //change to num
Severity: Minor
Found in contrib/importInternships.php by phan

Reference to undeclared property \Intern\SubselectPager->db
Open

        $pager->db->addTable('intern_internship', 'fuzzy');
Severity: Minor
Found in class/UI/ResultsUI.php by phan

Suspicious array access to nullable ?array|null|string[]
Open

    $values['state'] = $line[4];
Severity: Minor
Found in contrib/importSubHost.php by phan

Reference to undeclared property \Intern\SubselectPager->db
Open

            $pager->db->addSubSelect($fuzzyDb, 'fuzzy');
Severity: Minor
Found in class/UI/ResultsUI.php by phan

Call to method setClass from undeclared class \PHPWS_Form
Open

        $form->setClass('course_no', 'form-control');
Severity: Critical
Found in class/UI/SearchUI.php by phan

Call to method atHome from undeclared class \PHPWS_Core
Open

if (PHPWS_Core::atHome() && Current_User::isLogged()) {
Severity: Critical
Found in inc/runtime.php by phan

Call to method setClass from undeclared class \PHPWS_Form
Open

        $form->setClass('department', 'form-control');
Severity: Critical
Found in class/UI/SearchUI.php by phan

Call to method setClass from undeclared class \PHPWS_Form
Open

        $form->setClass('host_select', 'form-control');
Severity: Critical
Found in class/UI/SearchUI.php by phan

Call to method addCheckAssoc from undeclared class \PHPWS_Form
Open

        $form->addCheckAssoc('workflow_state', $workflowStates);
Severity: Critical
Found in class/UI/SearchUI.php by phan

Call to method allow from undeclared class \Current_User
Open

        if(\Current_User::allow('intern', 'affiliation_agreement')){
Severity: Critical
Found in class/UI/TopUI.php by phan
Severity
Category
Status
Source
Language