AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Variable $join_from is undeclared
Open

            if ($result = $this->_getJoinOn($join_on_1, $join_on_2, $join_from, $join_to, $ignore_tables)) {
Severity: Minor
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

                $join_to = $this->table_as[$join_to] . ' AS ' . $join_to;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $join_type is undeclared
Open

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

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

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

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

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

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

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

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

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

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

        $this->_join_tables[] = array('join_type' => $join_type,
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

            } elseif (empty($this->tables) || !in_array($table, $this->tables)) {
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

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

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

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

Reference to instance property subselect_as from undeclared class \PHPWS_DB
Open

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

Argument 3 (vars) is array but \sprintf() takes float|int|string
Open

            return sprintf('%s.%s = %s.%s', $table1, $join_on_1, $table2, $join_on_2);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $join_on_2 is undeclared
Open

            if ($result = $this->_getJoinOn($join_on_1, $join_on_2, $join_from, $join_to, $ignore_tables)) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Variable $join_from is undeclared
Open

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

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

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

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

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

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

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

Call to method allowed from undeclared class \PHPWS_DB
Open

            if (!PHPWS_DB::allowed($column) || preg_match('[^\w\.]', $column)) {
Severity: Critical
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
Severity
Category
Status
Source
Language