AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method getTheQuery from undeclared class \PHPWS_DB
Open

        $sql = '(' . $db->getTheQuery($type) . ')';
Severity: Critical
Found in class/SubselectDatabase.php by phan

Variable $join_to is undeclared (Did you mean $join_on)
Open

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

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

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

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

        if (empty($this->tables) && empty($this->table_as)) {
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 = array();
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \MDB2_FETCHMODE_OBJECT
Open

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

Call to method setColumn from undeclared class \PHPWS_DB_Where
Open

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

Call to method setTable from undeclared class \PHPWS_DB_Where
Open

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

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

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

Parameter $db has undeclared type \PHPWS_DB
Open

    public function addSubSelect(PHPWS_DB $db, $as, $type='select')
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to instance property subselect_as from undeclared class \PHPWS_DB
Open

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

Variable $join_from is undeclared
Open

                $join_from = $join_from->subselect_as;
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_from = $this->table_as[$join_from] . ' AS ' . $join_from;
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

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

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

Reference to undeclared constant \MDB2_FETCHMODE_ORDERED
Open

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

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

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

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

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

Reference to instance property return_query from undeclared class \PHPWS_DB
Open

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

Argument 4 (vars) is object 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
Severity
Category
Status
Source
Language