AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

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

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

Reference to undeclared constant \PHPWS_DB_BAD_TABLE_NAME
Open

            return PHPWS_Error::get(PHPWS_DB_BAD_TABLE_NAME, 'core', 'PHPWS_DB::addTable', $table);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method select from undeclared class \PHPWS_DB
Open

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

Reference to instance property subselect_as from undeclared class \PHPWS_DB
Open

            if (empty($table2->subselect_as)) {
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_to, $join_on);
Severity: Info
Found in class/SubselectDatabase.php by phan

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

                return 'GROUP BY ' . implode(', ', $this->group_by);
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

Call to method setValue from undeclared class \PHPWS_DB_Where
Open

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

Call to method __construct from undeclared class \PHPWS_DB
Open

        return new \PHPWS_DB('intern_subject');
Severity: Critical
Found in class/Subject.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 method log from undeclared class \PHPWS_Error
Open

                PHPWS_Error::log('Could not get columns in table: ' . $table);
Severity: Critical
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

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

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

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

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

Argument 2 (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

Variable $ignore_tables 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_to is undeclared (Did you mean $join_on)
Open

            if (is_object($join_to) && get_class($join_to) == 'PHPWS_DB') {
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

Variable $join_type is undeclared
Open

                $allJoin[] = sprintf('%s %s %s', strtoupper($join_type) . ' JOIN', $join_from, $join_on);
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::addWhere', $column);
Severity: Minor
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language