AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method allow from undeclared class \Current_User
Open

        if(!\Current_User::allow('intern', 'affiliation_agreement')){
Severity: Critical
Found in class/Command/SaveAffiliate.php by phan

Call to method reroute from undeclared class \PHPWS_Core
Open

            return \PHPWS_Core::reroute($url);
Severity: Critical
Found in class/Command/SaveAffiliate.php by phan

Suspicious array access to nullable ?array
Open

        if ($i->form_token == $_REQUEST['form_token']) {
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

        $i->faculty_id = $_REQUEST['faculty_id'] > 0 ? $_REQUEST['faculty_id'] : null;
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

        $supervisor->supervisor_zip = $_REQUEST['supervisor_zip'];
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Suspicious array access to nullable ?array
Open

            $supervisor->supervisor_state = $_REQUEST['supervisor_state'] == '-1' ? null : $_REQUEST['supervisor_state'];
Severity: Minor
Found in class/Command/SaveInternship.php by phan

Call to method getUserObj from undeclared class \Current_User
Open

                $ch = new ChangeHistory($i, \Current_User::getUserObj(), time(),
Severity: Critical
Found in class/Command/SaveInternship.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

        \PHPWS_Core::initModClass('users', 'Current_User.php');

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/TermRest.php by phan

Call with 1 arg(s) to \Intern\AcademicMajorList::__construct() which only takes 0 arg(s) defined at /code/class/AcademicMajorList.php:33
Open

        return new AcademicMajorList($majors);

Return type of getStudent() is undeclared type \Intern\DataProvider\Student\Intern\Student (Did you mean class \Intern\Student)
Open

    public function getStudent($studentId){

Call to method getUsername from undeclared class \Current_User
Open

                return new WebServiceDataProvider(\Current_User::getUsername());

Call to method log from undeclared class \PHPWS_Core
Open

        \PHPWS_Core::log($msg, 'curlapi.log', 'CURLAPI');

Call to method __construct from undeclared class \PHPWS_DB
Open

        $db = new \PHPWS_DB($obj->getTableName());
Severity: Critical
Found in class/DatabaseStorage.php by phan

Call to method __construct from undeclared class \PHPWS_DB
Open

        $db = new \PHPWS_DB($o->getTableName());
Severity: Critical
Found in class/DatabaseStorage.php by phan

Parameter $id has undeclared type \Intern\unknown
Open

    public static function getDepartmentById($id)
Severity: Minor
Found in class/DepartmentFactory.php by phan

Call to method setIndexBy from undeclared class \PHPWS_DB
Open

        $db->setIndexBy('id');
Severity: Critical
Found in class/DepartmentFactory.php by phan

Saw an @param annotation for pagetitle, but it was not found in the param list of function __construct(\Intern\Internship $i, ?\Intern\Student $student = null, \Intern\SubHost $host, \Intern\Supervisor $supervisor, \Intern\Term $term, $studentExistingCreditHours)
Open

     * @param string $pagetitle
Severity: Info
Found in class/EditInternshipFormView.php by phan

Reference to instance property auth_name from undeclared class \PHPWS_User
Open

        $user->auth_name = 'shibbolethnocreate';

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','backgroundCheckEmail',$_REQUEST['backgroundCheckEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan
Severity
Category
Status
Source
Language