AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method addCssClass from undeclared class \PHPWS_Form
Open

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

Call to method isDeity from undeclared class \Current_User
Open

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

Call to method secureLink from undeclared class \PHPWS_Text
Open

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

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 allow from undeclared class \Current_User
Open

            if(\Current_User::allow('intern', 'distance_ed_register')){

Call to method allow from undeclared class \Current_User
Open

            if(\Current_User::allow('intern', 'distance_ed_register')){

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

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

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

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

Variable $columns was undeclared, but array fields are being added to it.
Open

        $columns[] = $key;
Severity: Info
Found in contrib/createFakeStudents.php by phan

Variable $middle_name is undeclared
Open

    $lmiddle = strtolower($middle_name);
Severity: Minor
Found in contrib/createFakeStudents.php by phan

Variable $middle_name is undeclared
Open

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

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

    $values['email'] = $line[6]; //$email = explode('@',$line[5]);
Severity: Minor
Found in contrib/importInternships.php by phan

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

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

Call to method setExtra from undeclared class \PHPWS_Form
Open

            $form->setExtra('clear', 'onclick="this.form.search_list_pager_c_search.value=\'\'"');
Severity: Critical
Found in class/SubselectPager.php by phan

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

        if ($this->search_button) {
Severity: Minor
Found in class/SubselectPager.php by phan

Reference to undeclared constant \HTTP_DOWNLOAD_ATTACHMENT
Open

        $dl->setContentDisposition(HTTP_DOWNLOAD_ATTACHMENT, $new_file);
Severity: Minor
Found in class/SubselectPager.php by phan

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

            $add[] = $this->supervisor_address . ',';
Severity: Minor
Found in class/Supervisor.php by phan

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $form->setLabel('name', 'Affiliate Name');
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', 'special_host')) {
Severity: Critical
Found in class/UI/ApproveHostUI.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', NotifyUI::ERROR, "You do not have permission to edit departments.");
Severity: Critical
Found in class/UI/DepartmentUI.php by phan
Severity
Category
Status
Source
Language