AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Variable $join_from is undeclared
Open

            if (is_object($join_from) && get_class($join_from) == 'PHPWS_DB') {
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

Call to undeclared method \Intern\SubselectDatabase::inDatabase
Open

                } elseif ($this->inDatabase($join_table, $join_column)) {
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

Reference to undeclared class \PHPWS_DB
Open

        parent::__construct($table);
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

        if (isset($this->_columnInfo[$col_name])) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

Variable $allJoin was undeclared, but array fields are being added to it.
Open

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

Call to method setJoin from undeclared class \PHPWS_DB_Where
Open

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

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

            foreach ($this->table_as as $as => $table);
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

        $this->where = array();
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method addPrefix from undeclared class \PHPWS_DB
Open

        $table = PHPWS_DB::addPrefix($table);
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

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

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

Reference to instance property return_query from undeclared class \PHPWS_DB
Open

            $table1->return_query = true;
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

            } elseif (isset($this->_columnInfo) && $fullInfo == true) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to instance property subselect_as from undeclared class \PHPWS_DB
Open

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

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

        foreach ($this->tables as $table) {
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_COL_NAME, 'core', 'PHPWS_DB::addWhere', $column);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method allowed from undeclared class \PHPWS_DB
Open

        if (PHPWS_DB::allowed($table)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language