AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method isError from undeclared class \PHPWS_Error
Open

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

Call to method logDB from undeclared class \PHPWS_DB
Open

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

Call to method select from undeclared class \PHPWS_DB
Open

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

Call to method select from undeclared class \PHPWS_DB
Open

        return $db->select('one', $sql);
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::incrementColumn');
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

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

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

Call to undeclared method \Intern\SubselectDatabase::getIndex (Did you mean expr->setIndex())
Open

            $idColumn = $this->getIndex();
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method isError from undeclared class \Intern\DB
Open

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

Reference to undeclared constant \PHPWS_DB_NO_COLUMN_SET
Open

                    return PHPWS_Error::get(PHPWS_DB_NO_COLUMN_SET, 'core', 'PHPWS_DB::select');
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

Call to method __construct from undeclared class \PHPWS_DB
Open

        $db = new PHPWS_DB;
Severity: Critical
Found in class/SubselectDatabase.php by phan

string passed to foreach instead of array
Open

                foreach ($col as $key => $col_test) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $coalesce is undeclared
Open

                    } else if (!is_null($coalesce)) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

        $this->columns[] = array('table'=>'',
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

                        $columns[] = "$table_name";
Severity: Info
Found in class/SubselectDatabase.php by phan

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

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

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

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

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

        return $this->indexby;
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::insert');
Severity: Minor
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language