AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method get from undeclared class \PHPWS_Error
Open

            return PHPWS_Error::get(PHPWS_DB_BAD_COL_NAME, 'core', 'PHPWS_DB::dropTableColumn', $column);
Severity: Critical
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::dropTableColumn', $column);
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_FILE_NOT_FOUND
Open

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

Call to method import from undeclared class \PHPWS_DB
Open

        return PHPWS_DB::import($data, $report_errors);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method log from undeclared class \PHPWS_Error
Open

                PHPWS_Error::log(PHPWS_DB_IMPORT_FAILED, 'core', 'PHPWS_DB::import');
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_DB_NO_OBJ_VARS
Open

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

Call to method isError from undeclared class \PHPWS_Error
Open

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

Call to method logIfError from undeclared class \PHPWS_Error
Open

            if (PHPWS_Error::logIfError($this->incrementColumn($order_column))) {
Severity: Critical
Found in class/SubselectDatabase.php by phan

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

            $parameters[] = $column . ' ' . $value;
Severity: Info
Found in class/SubselectDatabase.php by phan

Call to method get from undeclared class \PHPWS_Error
Open

            return PHPWS_Error::get(PHPWS_DB_ERROR_TABLE, 'core', 'PHPWS_DB::renameTableColumn');
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 query from undeclared class \PHPWS_DB
Open

            return PHPWS_DB::query($sql);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_DB_IMPORT_FAILED
Open

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

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

        $from[] = '/int\(\d+\)/iU';
Severity: Info
Found in class/SubselectDatabase.php by phan

Suspicious array access to null
Open

                $items[$indexby] = $genClass;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method commit from undeclared class \PHPWS_DB
Open

            PHPWS_DB::commit();
Severity: Critical
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::createTableIndex');
Severity: Critical
Found in class/SubselectDatabase.php by phan

Saw possibly unextractable annotation for a fragment of comment '* @param boolean indexed Create an index on the column if true': after boolean, did not see an element name (will guess based on comment order)
Open

     * @param boolean indexed   Create an index on the column if true
Severity: Info
Found in class/SubselectDatabase.php by phan

Reference to undeclared constant \PHPWS_DB_IMPORT_FAILED
Open

                PHPWS_Error::log(PHPWS_DB_IMPORT_FAILED, 'core', 'PHPWS_DB::import');
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

                    $column_info['index'] = 'CREATE INDEX ' . $info['name'] . ' on ' . $info['table']
Severity: Info
Found in class/SubselectDatabase.php by phan
Severity
Category
Status
Source
Language