AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method _indexBy from undeclared class \PHPWS_DB
Open

                    return PHPWS_DB::_indexBy($result, $indexby, true);
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

Call to method select from undeclared class \PHPWS_DB
Open

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

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

        if ($this->force_array) {
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::incrementColumn');
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

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

        if ($type == 'count' && empty($this->columns)) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

        $sql_array['columns'] = & $columns;
Severity: Info
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

Variable $coalesce is undeclared
Open

                            $table_name = sprintf('coalesce(distinct(%s.%s), %s)', $table, $name, $coalesce);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $name is undeclared
Open

                                $table_name = "$table.$name";
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

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

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

Reference to undeclared constant \PHPWS_DB_BAD_COL_NAME
Open

                return PHPWS_Error::get(PHPWS_DB_BAD_COL_NAME, 'core', 'PHPWS_DB::addValue', $column);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method isError from undeclared class \PHPWS_Error
Open

            if (PHPWS_Error::isError($idColumn)) {
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

        $sql = "SELECT $columns FROM $table $where $group_by $order $limit";
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

        if ($this->return_query) {
Severity: Minor
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

Call to method select from undeclared class \PHPWS_DB
Open

        return $db->select('row', $sql);
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
Severity
Category
Status
Source
Language