AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Saw misspelled annotation @returns. Did you mean @return?
Open

     * @returns True if successful, false if not successful and report_errors = false or
Severity: Info
Found in class/SubselectDatabase.php by phan

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

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

Reference to undeclared constant \PHPWS_DB_ERROR_TABLE
Open

            return PHPWS_Error::get(PHPWS_DB_ERROR_TABLE, 'core', 'PHPWS_DB::addTableColumn');
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_BAD_COL_NAME, 'core', 'PHPWS_DB::addColumn', $as);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Variable $name is undeclared
Open

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

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

                        $columns[] = "$table_name AS $as";
Severity: Info
Found in class/SubselectDatabase.php by phan

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

                    $this->order[] = array('table' => $this->getSourceTable(), 'column' => $order);
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

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

Call to method _indexBy from undeclared class \PHPWS_DB
Open

                    return PHPWS_DB::_indexBy($result, $indexby);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method query from undeclared class \PHPWS_DB
Open

        $result = PHPWS_DB::query("DROP TABLE $table");
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 isError from undeclared class \PHPWS_Error
Open

            if (PHPWS_Error::isError($result)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_DB_ERROR_TABLE
Open

            return PHPWS_Error::get(PHPWS_DB_ERROR_TABLE, 'core', 'PHPWS_DB::createTableIndex');
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method addPrefix from undeclared class \PHPWS_DB
Open

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

Saw possibly unextractable annotation for a fragment of comment '* @param string parameter Specifics of table column': after string, did not see an element name (will guess based on comment order)
Open

     * @param string  parameter Specifics of table column
Severity: Info
Found in class/SubselectDatabase.php by phan

Saw misspelled annotation @returns. Did you mean @return?
Open

     * @returns mixed
Severity: Info
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::alterColumnType', $column);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to undeclared method \Intern\SubselectDatabase::rollback
Open

                $this->rollback();
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

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

Reference to undeclared constant \PHPWS_WRONG_TYPE
Open

            return PHPWS_Error::get(PHPWS_WRONG_TYPE, 'core', 'PHPWS_DB::saveObject', _('Type') . ': ' . gettype($object));
Severity: Minor
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language