AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method secureLink from undeclared class \PHPWS_Text
Open

            $adminOptions['EDIT_COURSES_LINK'] = \PHPWS_Text::secureLink('Edit Course List','intern',array('action' => 'edit_courses'));
Severity: Critical
Found in class/UI/TopUI.php by phan

Call to method secureLink from undeclared class \PHPWS_Text
Open

            $adminOptions['ADMIN_SETTINGS']      = \PHPWS_Text::secureLink('Admin Settings','intern',array('action' => 'showAdminSettings'));
Severity: Critical
Found in class/UI/TopUI.php by phan

Call to method plug from undeclared class \Layout
Open

        \Layout::plug(\PHPWS_Template::process($tpl, 'intern', 'top.tpl'), 'NAV_LINKS');
Severity: Critical
Found in class/UI/TopUI.php by phan

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

        $term = TermFactory::getTermByTermCode($i->getTerm());

Call to method addTplTag from undeclared class \PHPWS_Form
Open

        $this->form->addTplTag('WORKFLOW_STATE', $this->state->getFriendlyName());
Severity: Critical
Found in class/WorkflowTransitionView.php by phan

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

chdir(PHPWS_SOURCE_DIR);
Severity: Minor
Found in cli.php by phan

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

require_once PHPWS_SOURCE_DIR . 'src/Autoloader.php';
Severity: Minor
Found in cli.php by phan

Variable $user_name is undeclared
Open

    '$user_name',
Severity: Minor
Found in contrib/createFakeStudents.php by phan

Variable $last_name is undeclared
Open

    METAPHONE('$last_name', 4),
Severity: Minor
Found in contrib/createFakeStudents.php by phan

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

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

Possibly zero references to use statement for classlike/namespace EmergencyContactFactory (\Intern\EmergencyContactFactory)
Open

 use \Intern\EmergencyContactFactory;
Severity: Minor
Found in contrib/importInternships.php by phan

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

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

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

require_once(PHPWS_SOURCE_DIR . 'mod/intern/inc/defines.php');
Severity: Minor
Found in index.php by phan

Reference to undeclared property \Exception->username
Open

        $e->username = $user->getUsername();
Severity: Minor
Found in index.php by phan

Reference to undeclared property \Exception->referrer
Open

            $e->referrer = 'None';
Severity: Minor
Found in index.php by phan
Severity
Category
Status
Source
Language