AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Variable $last_name is undeclared
Open

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

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

        $this->cache_queries = (bool) $cache;
Severity: Minor
Found in class/SubselectPager.php by phan

Call to method setExtra from undeclared class \PHPWS_Form
Open

        $form->setExtra('faculty', 'disabled');
Severity: Critical
Found in class/UI/SearchUI.php by phan

Call to method isLogged from undeclared class \Current_User
Open

if (!\Current_User::isLogged()) {
Severity: Critical
Found in index.php by phan

Call to method addCssClass from undeclared class \PHPWS_Form
Open

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

Call to method setLabel from undeclared class \PHPWS_Form
Open

        $form->setLabel('end_date', 'Ending Before');
Severity: Critical
Found in class/UI/SearchUI.php by phan

Reference to undeclared property \Exception->referrer
Open

            $e->referrer = $_SERVER['HTTP_REFERER'];
Severity: Minor
Found in index.php by phan

Call to method isError from undeclared class \PHPWS_Error
Open

        if (PHPWS_Error::isError($template)) {
Severity: Critical
Found in class/SubselectPager.php by phan

Call to method allow from undeclared class \Current_User
Open

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

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

            if (function_exists($this->report_row)) {
Severity: Minor
Found in class/SubselectPager.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

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', NotifyUI::WARNING, 'You do not have permission to edit courses.');
Severity: Critical
Found in class/UI/CoursesUI.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());
Severity: Minor
Found in class/WorkflowTransition/Reinstate.php by phan

Call to method popAll from undeclared class \NQ
Open

        $notifications = \NQ::popAll('intern');
Severity: Critical
Found in class/UI/NotifyUI.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

            $name .= $this->supervisor_first_name . " ";
Severity: Minor
Found in class/Supervisor.php by phan

Call to method setMatch from undeclared class \PHPWS_Form
Open

            $this->form->setMatch('workflow_action', 'Intern\WorkflowTransition\CreationTransition');
Severity: Critical
Found in class/WorkflowTransitionView.php by phan

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

use Intern\Student;
Severity: Minor
Found in class/UI/ResultsUI.php by phan

Reference to undeclared property \Intern\Supervisor->address_same_flag
Open

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

Call to method addPageTitle from undeclared class \Layout
Open

        \Layout::addPageTitle('Search Results');
Severity: Critical
Found in class/UI/ResultsUI.php by phan

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

    $bannerId = $line[0];
Severity: Minor
Found in contrib/importAutosuggest.php by phan
Severity
Category
Status
Source
Language