AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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

        return $this->values[$column];
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method isError from undeclared class \PHPWS_Error
Open

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

Reference to undeclared property \Intern\SubselectDatabase->limit (Did you mean $limit)
Open

        $this->limit['total'] = preg_replace('/[^\d\s]/', '', $_limit);
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

        $this->limit = '';
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method get from undeclared class \PHPWS_Error
Open

            return PHPWS_Error::get(PHPWS_DB_NO_VALUES, 'core', 'PHPWS_DB::insert');
Severity: Critical
Found in class/SubselectDatabase.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

        $query = "UPDATE $table SET " . implode(', ', $columns) . " $where $order $limit";
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method select from undeclared class \PHPWS_DB
Open

        return $db->select('col', $sql);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->columns (Did you mean $column)
Open

        $this->columns[] = $col;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $distinct is undeclared
Open

                        if ($distinct) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

                foreach ($this->columns as $col) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $max_min is undeclared
Open

                        $table_name = strtoupper($max_min) . "($table_name)";
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->order (Did you mean $order)
Open

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

Reference to undeclared property \Intern\SubselectDatabase->values (Did you mean $value)
Open

            $this->values[$column] = $value;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->order (Did you mean $order)
Open

                $this->order[] = $GLOBALS['PHPWS_DB']['lib']->randomOrder();
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

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

        $this->columns = null;
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

Call to method touchDB from undeclared class \PHPWS_DB
Open

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

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

            return $GLOBALS['PHPWS_DB']['lib']->getLimit($this->limit);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method get from undeclared class \PHPWS_Error
Open

            return PHPWS_Error::get(PHPWS_DB_ERROR_TABLE, 'core', 'PHPWS_DB::insert');
Severity: Critical
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language