AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

require_once PHPWS_SOURCE_DIR . 'core/class/DB/PHPWS_DB_Where.php';
Severity: Minor
Found in class/SubselectDatabase.php by phan

Class extends undeclared class \PHPWS_DB
Open

class SubselectDatabase extends PHPWS_DB{
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

                $this->mode = MDB2_FETCHMODE_OBJECT;
Severity: Minor
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

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

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

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

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

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

Call to method __construct from undeclared class \PHPWS_DB_Where
Open

        $where = new PHPWS_DB_Where;
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

Call to method setConj from undeclared class \PHPWS_DB_Where
Open

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

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

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

Call to method log from undeclared class \PHPWS_Error
Open

                PHPWS_Error::log($columns);
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Reference to undeclared constant \MDB2_FETCHMODE_ASSOC
Open

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

Call to method listTables from undeclared class \PHPWS_DB
Open

        $tables = PHPWS_DB::listTables();
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Suspicious array access to null
Open

            $dup_list[] = $dup;
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

            $join_tables[] = $join_to;
Severity: Info
Found in class/SubselectDatabase.php by phan

Call to method isError from undeclared class \PHPWS_Error
Open

            if (PHPWS_Error::isError($columns)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language