AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method setJoin from undeclared class \PHPWS_DB_Where
Open

                    $where->setJoin(true);
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Call to method isError from undeclared class \PHPWS_Error
Open

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

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

        $this->table_as[$as] = $sql;
Severity: Minor
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::getTable');
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method inDatabase from undeclared class \PHPWS_DB
Open

                } elseif (PHPWS_DB::inDatabase($join_table, $join_column)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Reference to undeclared property \Intern\SubselectDatabase->tables (Did you mean expr->table_as)
Open

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

Call to method initCoreClass from undeclared class \PHPWS_Core
Open

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

Call to method prefixQuery from undeclared class \PHPWS_DB
Open

            $sql = PHPWS_DB::prefixQuery($sql);
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

            if (isset($this->_allColumns) && $fullInfo == false) {
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::getTableColumns');
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::getTableColumns');
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_BAD_TABLE_NAME, 'core', 'PHPWS_DB::addTable', $table);
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Reference to instance property subselect_as from undeclared class \PHPWS_DB
Open

            $this->table_as[$table2->subselect_as] = sprintf('(%s)', $table2->select());
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

                    $value1 = $table1 . '.' . $value;
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

                    $value2 = $table2 . '.' . $join_on_2[$key];
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $join_type is undeclared
Open

                $allJoin[] = sprintf('%s %s %s', strtoupper($join_type) . ' JOIN', $join_to, $join_on);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $approve_flag is undeclared (Did you mean $this->approve_flag)
Open

        return $this->$approve_flag;
Severity: Minor
Found in class/SubHost.php by phan
Severity
Category
Status
Source
Language