AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Reference to undeclared constant \PHPWS_DB_NOT_OBJECT
Open

            return PHPWS_Error::get(PHPWS_DB_NOT_OBJECT, 'core', 'PHPWS_DB::loadObject');
Severity: Minor
Found in class/SubselectDatabase.php by phan

int|string passed to foreach instead of array
Open

        foreach ($result as $indexby => $itemResult) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->qwhere
Open

        if (isset($this->qwhere) || !empty($this->where)) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method logIfError from undeclared class \PHPWS_Error
Open

            if (PHPWS_Error::logIfError($result)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method addValue from undeclared class \PHPWS_DB
Open

            $seq->addValue('id', $max_id);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method insert from undeclared class \PHPWS_DB
Open

                return $seq->insert(false);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method begin from undeclared class \PHPWS_DB
Open

            PHPWS_DB::begin();
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method get from undeclared class \PHPWS_Error
Open

                return PHPWS_Error::get(PHPWS_DB_BAD_COL_NAME, 'core', 'PHPWS_DB::createTableIndex');
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_DB_ERROR_TABLE
Open

            return PHPWS_Error::get(PHPWS_DB_ERROR_TABLE, 'core', 'PHPWS_DB::createTable');
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method getDBType from undeclared class \PHPWS_DB
Open

                PHPWS_DB::getDBType() != 'mysqli') {
Severity: Critical
Found in class/SubselectDatabase.php by phan

Returning type null but getObjects() is declared to return array
Open

            return null;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_CLASS_NOT_EXIST
Open

            return PHPWS_Error::get(PHPWS_CLASS_NOT_EXIST, 'core', 'PHPWS_DB::getObjects', $class_name);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Argument 1 (haystack) is float|int but \strpos() takes string
Open

                    $tables[] = substr($tbl, 0, strpos(trim($tbl) + 1, ' '));
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method rollback from undeclared class \PHPWS_DB
Open

                PHPWS_DB::rollback();
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

        $this->db = new SubselectDatabase($table);
Severity: Minor
Found in class/SubselectPager.php by phan

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

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

Argument 1 (message) is ?array{0:array<string>|array<string>|array<string>}|?array{0:array<string>}|null</string></string></string></string> but \Exception::__construct() takes string
Open

            throw new \Exception($rows);
Severity: Minor
Found in class/SubselectPager.php by phan

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

            $template['EMPTY_MESSAGE'] = $this->empty_message;
Severity: Minor
Found in class/SubselectPager.php by phan

Variable $orderby_dir is undeclared
Open

            $this->orderby_dir = $orderby_dir;
Severity: Minor
Found in class/SubselectPager.php by phan

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

                $this->limit = $this->default_limit;
Severity: Minor
Found in class/SubselectPager.php by phan
Severity
Category
Status
Source
Language