diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 40d129f381..bdc7f18e13 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1596,9 +1596,9 @@ parameters: path: libraries/classes/Controllers/Sql/SetValuesController.php - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\:\\:\\$limit \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit\\) in empty\\(\\) is not falsy\\.$#" + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClauses\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" count: 1 - path: libraries/classes/Controllers/Table/ChartController.php + path: libraries/classes/Controllers/Table/ExportController.php - message: "#^Method PhpMyAdmin\\\\Controllers\\\\Table\\\\FindReplaceController\\:\\:getRegexReplaceRows\\(\\) return type has no value type specified in iterable type array\\.$#" @@ -1721,7 +1721,12 @@ parameters: path: libraries/classes/Controllers/Table/Structure/PartitioningController.php - - message: "#^Offset 'partition_by' on array\\{partition_by\\: string, partition_expr\\: string, partition_count\\: int, subpartition_by\\: string, subpartition_expr\\: string, subpartition_count\\: int, can_have_subpartitions\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Offset 'partition_by' on array\\{partition_by\\: string, partition_expr\\: string, partition_count\\: mixed, subpartition_by\\: string, subpartition_expr\\: string, subpartition_count\\: int, can_have_subpartitions\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/Structure/PartitioningController.php + + - + message: "#^Offset 0 does not exist on array\\\\|null\\.$#" count: 1 path: libraries/classes/Controllers/Table/Structure/PartitioningController.php @@ -1731,12 +1736,7 @@ parameters: path: libraries/classes/Controllers/Table/Structure/PartitioningController.php - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\CreateStatement\\:\\:\\$partitionsNum \\(int\\) on left side of \\?\\? is not nullable\\.$#" - count: 1 - path: libraries/classes/Controllers/Table/Structure/PartitioningController.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\CreateStatement\\:\\:\\$subpartitionsNum \\(int\\) on left side of \\?\\? is not nullable\\.$#" + message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\\\|null given\\.$#" count: 1 path: libraries/classes/Controllers/Table/Structure/PartitioningController.php @@ -2505,6 +2505,36 @@ parameters: count: 4 path: libraries/classes/Database/Qbe.php + - + message: "#^Cannot access offset 'value' on mixed\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + + - + message: "#^Cannot access offset int\\<0, max\\> on array\\\\|int\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + + - + message: "#^Cannot access property \\$name on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + + - + message: "#^Cannot access property \\$options on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + + - + message: "#^Cannot access property \\$parameters on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + + - + message: "#^Cannot call method has\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#" + count: 1 + path: libraries/classes/Database/Routines.php + - message: "#^Method PhpMyAdmin\\\\Database\\\\Routines\\:\\:backupPrivileges\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -3190,6 +3220,16 @@ parameters: count: 1 path: libraries/classes/Display/Results.php + - + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 2 + path: libraries/classes/Display/Results.php + + - + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Parameter \\#3 \\$colOrder of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getRowValues\\(\\) expects array\\|false, mixed given\\.$#" count: 1 @@ -3200,6 +3240,11 @@ parameters: count: 1 path: libraries/classes/Display/Results.php + - + message: "#^Parameter \\#5 \\$sortExpressionNoDirection of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getTableHeaders\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Parameter \\#6 \\$colVisib of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getRowValues\\(\\) expects array\\|bool\\|string, mixed given\\.$#" count: 1 @@ -3225,21 +3270,6 @@ parameters: count: 1 path: libraries/classes/Display/Results.php - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\:\\:\\$limit \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit\\) in empty\\(\\) is not falsy\\.$#" - count: 1 - path: libraries/classes/Display/Results.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\SelectStatement\\:\\:\\$order \\(array\\\\) on left side of \\?\\? is not nullable\\.$#" - count: 1 - path: libraries/classes/Display/Results.php - - - - message: "#^Result of && is always false\\.$#" - count: 1 - path: libraries/classes/Display/Results.php - - message: "#^Foreach overwrites \\$engine with its value variable\\.$#" count: 1 @@ -4516,13 +4546,13 @@ parameters: path: libraries/classes/Import/Ajax.php - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\DeleteStatement\\:\\:\\$limit \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit\\) in empty\\(\\) is not falsy\\.$#" + message: "#^Argument of an invalid type array\\\\|null supplied for foreach, only iterables are supported\\.$#" count: 1 path: libraries/classes/Import/SimulateDml.php - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\UpdateStatement\\:\\:\\$limit \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit\\) in empty\\(\\) is not falsy\\.$#" - count: 1 + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 6 path: libraries/classes/Import/SimulateDml.php - @@ -4975,6 +5005,11 @@ parameters: count: 2 path: libraries/classes/LanguageManager.php + - + message: "#^Binary operation \"\\+\" between int\\|string\\|null and int\\<0, max\\> results in an error\\.$#" + count: 1 + path: libraries/classes/Linter.php + - message: "#^Method PhpMyAdmin\\\\Linter\\:\\:findLineNumberAndColumn\\(\\) has parameter \\$lines with no value type specified in iterable type array\\.$#" count: 1 @@ -5000,6 +5035,11 @@ parameters: count: 1 path: libraries/classes/Linter.php + - + message: "#^Parameter \\#2 \\$pos of static method PhpMyAdmin\\\\Linter\\:\\:findLineNumberAndColumn\\(\\) expects int, int\\|string\\|null given\\.$#" + count: 1 + path: libraries/classes/Linter.php + - message: "#^Right side of && is always true\\.$#" count: 1 @@ -5746,10 +5786,35 @@ parameters: path: libraries/classes/Plugins/Export/ExportPhparray.php - - message: "#^Binary operation \"\\.\" between 'FOREIGN KEY ' and array\\|string results in an error\\.$#" + message: "#^Binary operation \"\\.\" between 'FOREIGN KEY ' and array\\\\|string results in an error\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportSql.php + - + message: "#^Cannot access property \\$database on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#" + count: 2 + path: libraries/classes/Plugins/Export/ExportSql.php + + - + message: "#^Cannot access property \\$expr on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#" + count: 2 + path: libraries/classes/Plugins/Export/ExportSql.php + + - + message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#" + count: 5 + path: libraries/classes/Plugins/Export/ExportSql.php + + - + message: "#^Cannot call method has\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#" + count: 8 + path: libraries/classes/Plugins/Export/ExportSql.php + + - + message: "#^Cannot call method remove\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#" + count: 7 + path: libraries/classes/Plugins/Export/ExportSql.php + - message: "#^Casting to int something that's already int\\<1, max\\>\\.$#" count: 1 @@ -5840,38 +5905,18 @@ parameters: count: 1 path: libraries/classes/Plugins/Export/ExportSql.php + - + message: "#^Parameter \\#1 \\$str of static method PhpMyAdmin\\\\SqlParser\\\\Context\\:\\:escape\\(\\) expects array\\\\|string, string\\|null given\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportSql.php + - message: "#^Parameter \\#2 \\$id of method PhpMyAdmin\\\\Plugins\\\\ExportPlugin\\:\\:getAlias\\(\\) expects string, mixed given\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportSql.php - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\:\\:\\$key \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\) in empty\\(\\) is not falsy\\.$#" - count: 3 - path: libraries/classes/Plugins/Export/ExportSql.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\:\\:\\$options \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\) in empty\\(\\) is not falsy\\.$#" - count: 1 - path: libraries/classes/Plugins/Export/ExportSql.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\:\\:\\$references \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Reference\\) in empty\\(\\) is not falsy\\.$#" - count: 1 - path: libraries/classes/Plugins/Export/ExportSql.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\:\\:\\$type \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\) in empty\\(\\) is not falsy\\.$#" - count: 1 - path: libraries/classes/Plugins/Export/ExportSql.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\CreateStatement\\:\\:\\$entityOptions \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\) in empty\\(\\) is not falsy\\.$#" - count: 2 - path: libraries/classes/Plugins/Export/ExportSql.php - - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Token\\:\\:\\$token \\(string\\) does not accept array\\|string\\.$#" + message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Token\\:\\:\\$token \\(string\\) does not accept array\\\\|string\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportSql.php @@ -7820,6 +7865,21 @@ parameters: count: 1 path: libraries/classes/Sql.php + - + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 1 + path: libraries/classes/Sql.php + + - + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 2 + path: libraries/classes/Sql.php + + - + message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClauses\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#" + count: 1 + path: libraries/classes/Sql.php + - message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\Sql\\:\\:handleSortOrder\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -7890,6 +7950,11 @@ parameters: count: 4 path: libraries/classes/SystemDatabase.php + - + message: "#^Argument of an invalid type array\\\\|null supplied for foreach, only iterables are supported\\.$#" + count: 2 + path: libraries/classes/Table.php + - message: "#^Cannot cast mixed to string\\.$#" count: 1 @@ -8095,6 +8160,11 @@ parameters: count: 1 path: libraries/classes/Table.php + - + message: "#^Parameter \\#1 \\$string of function substr expects string, mixed given\\.$#" + count: 2 + path: libraries/classes/Table.php + - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, mixed given\\.$#" count: 1 @@ -8110,11 +8180,6 @@ parameters: count: 1 path: libraries/classes/Table.php - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\AlterOperation\\:\\:\\$field \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\) does not accept null\\.$#" - count: 2 - path: libraries/classes/Table.php - - message: "#^Property PhpMyAdmin\\\\Table\\:\\:\\$errors type has no value type specified in iterable type array\\.$#" count: 1 @@ -8236,7 +8301,22 @@ parameters: path: libraries/classes/ThemeManager.php - - message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|string\\.$#" + message: "#^Cannot access property \\$dest on PhpMyAdmin\\\\SqlParser\\\\Components\\\\IntoKeyword\\|null\\.$#" + count: 1 + path: libraries/classes/Tracker.php + + - + message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#" + count: 4 + path: libraries/classes/Tracker.php + + - + message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|string\\|null\\.$#" + count: 1 + path: libraries/classes/Tracker.php + + - + message: "#^Cannot access property \\$tokens on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#" count: 1 path: libraries/classes/Tracker.php @@ -8260,6 +8340,16 @@ parameters: count: 1 path: libraries/classes/Tracker.php + - + message: "#^Offset 0 does not exist on array\\\\|null\\.$#" + count: 4 + path: libraries/classes/Tracker.php + + - + message: "#^Offset 0 does not exist on array\\\\|null\\.$#" + count: 2 + path: libraries/classes/Tracker.php + - message: "#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the left side\\.$#" count: 2 @@ -8270,11 +8360,6 @@ parameters: count: 1 path: libraries/classes/Tracker.php - - - message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$options \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\) in isset\\(\\) is not nullable\\.$#" - count: 1 - path: libraries/classes/Tracker.php - - message: "#^Property PhpMyAdmin\\\\Tracker\\:\\:\\$trackingCache type has no value type specified in iterable type array\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 3036bf28ed..79c1d8c6df 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -3194,9 +3194,6 @@ - - empty($statement->limit) - $rows $start @@ -3324,6 +3321,9 @@ $GLOBALS['unlim_num_rows'] $GLOBALS['where_clause'] + + $parser->list + @@ -3886,20 +3886,22 @@ - - count($stmt->partitions) - count($stmt->partitions[0]->subpartitions) - $createTable $createTable - - $stmt->partitionsNum - $stmt->subpartitionsNum - + + $stmt->partitions + $stmt->partitions[0]->subpartitions + + + $stmt->partitions[0] + + + $stmt->partitions[0]->subpartitions + @@ -5356,15 +5358,13 @@ Util::getSupportedDatatypes() Util::getSupportedDatatypes() - + $options $options - $stmt->return->parameters $value - + $opt['value'] - $params['dir'][$i] $priv[0] $priv[1] $priv[2] @@ -5441,7 +5441,7 @@ $routine['item_param_type'][$i] $routine['item_param_type'][$routine['item_num_params'] - 1] - + $GLOBALS['errors'] $GLOBALS['errors'] $GLOBALS['errors'] @@ -5454,14 +5454,6 @@ $retval['item_comment'] $retval['item_definer'] $retval['item_name'] - $retval['item_num_params'] - $retval['item_param_dir'] - $retval['item_param_length'] - $retval['item_param_length_arr'] - $retval['item_param_name'] - $retval['item_param_opts_num'] - $retval['item_param_opts_text'] - $retval['item_param_type'] $retval['item_sqldataaccess'] $retval['item_type'] $routine @@ -5534,6 +5526,9 @@ $itemType $itemType + + $params['dir'][$i] + $_GET['item_name'] $_GET['item_name'] @@ -5572,23 +5567,33 @@ $itemReturnType $itemSqlDataAccess - + $GLOBALS['errors'] $GLOBALS['message'] $create_routine $mode $routine['item_name'] + $stmt->return->parameters $routine['item_name'] $routine['item_type'] + + $stmt->return->options->options + $output $this->browseRow($row) $title - + + $stmt->return->name + $stmt->return->options + $stmt->return->parameters + + + has isSuccess @@ -5979,13 +5984,10 @@ escapeString - - $displayParts->hasNavigationBar && $statement !== null && empty($statement->limit) - [] - - + $added[$orgFullTableName] $multiOrderUrlParams + $sortExpressionNoDirection $delUrlParams @@ -6107,7 +6109,7 @@ $rel['foreign_table'] $whereClauseMap[$rowNumber][$meta->orgtable] - + $_SESSION['tmpval']['display_binary'] $_SESSION['tmpval']['display_blob'] $_SESSION['tmpval']['geoOption'] @@ -6136,6 +6138,7 @@ $query['max_rows'] $query['pftext'] $query['pftext'] + $query['pftext'] $query['pos'] $query['pos'] $query['relational_display'] @@ -6272,14 +6275,18 @@ $editCopyUrlParams $editCopyUrlParams - + $colVisibCurrent + $statementInfo->parser->list + $statementInfo->parser->list + $statementInfo->parser->list $firstStatement->order[$key] - + $dispval + $o->expr->expr (int) $GLOBALS['cfg']['LimitChars'] @@ -6290,8 +6297,7 @@ empty($statementInfo->statement->from) isset($sessionMaxRows) - - $firstStatement->order + isset($meta->internalMediaType) @@ -7684,7 +7690,7 @@ - + $GLOBALS['charset_of_file'] $GLOBALS['reload'] $active @@ -7692,7 +7698,6 @@ $size $size $size - $table $table[self::COL_NAMES] $table[self::ROWS] $table[self::TBL_NAME] @@ -7742,7 +7747,7 @@ $typeArray[$analyses[$i][self::TYPES][$j]] - + $GLOBALS['charset_conversion'] $GLOBALS['charset_of_file'] $GLOBALS['executed_queries'] @@ -7775,7 +7780,6 @@ $size $size $table - $table string|int @@ -7851,10 +7855,37 @@ - - $tableReferences - $tableReferences + + $set->value + + + $columns + + $columns[] + $set + + + $set->column + + + $set->column + $set->value + + + $parser->list + $parser->list + $parser->list + $parser->list + $parser->list + $parser->list + + + $statement->set + + + empty($diff) + @@ -8177,25 +8208,21 @@ - + $error[3] - $error[3] + mb_strlen((string) $error[2]) - - - $error[0] - $error[2] - $error[2] - $error[3] - $error[3] - - - $error + + $lineStart - - $error[3] + $lines[$line] + + $error[3] + + + $error[3] + @@ -9767,10 +9794,6 @@ escapeString escapeString - - empty($field->options) - empty($field->references) - $GLOBALS['asfile'] $GLOBALS['sql_if_not_exists'] @@ -9856,17 +9879,16 @@ $trigger['create'] $trigger['drop'] - + $aliases[$db]['tables'][$table]['columns'][$field] $aliases[$db]['tables'][$view]['columns'][$colAlias] - $aliases[$oldDatabase]['tables'][$refTable]['columns'][$column] $oneKey['ref_index_list'][$index] $values[$val] $row[$j] - + $GLOBALS['sql_auto_increments'] $GLOBALS['sql_backquotes'] $GLOBALS['sql_backquotes'] @@ -9878,7 +9900,6 @@ $colAlias $colAlias $colAs - $column $columnAliases $definition $engine @@ -9912,6 +9933,9 @@ $tmpUniqueCondition $trigger['drop'] + + $field->references->columns + $GLOBALS['plugin_param']['export_type'] $GLOBALS['plugin_param']['export_type'] @@ -9923,9 +9947,10 @@ Context::escape($alias) - + $createQuery $definition + $field->name $tableAlias $tableAlias $tableAlias @@ -9935,9 +9960,31 @@ $GLOBALS['plugin_param']['export_type'] $GLOBALS['plugin_param']['single_table'] + + $aliases[$oldDatabase]['tables'] + $eventDef + + $statement->name + $statement->name + $statement->name + $statement->table + $statement->table + + + $statement->name->table + $statement->table->table + + + has + has + remove + remove + remove + remove + $field->key->columns @@ -13139,10 +13186,17 @@ $numRows - + + $statement->altered[0]->field->column + + $result $row[0] + $statementInfo->parser->list + $statementInfo->parser->list + $statementInfo->parser->list $table + $tokenList (bool) $GLOBALS['cfg']['ShowSQL'] @@ -13369,7 +13423,7 @@ $where $where - + $_SESSION['tmpval']['table_uiprefs'][$serverId][$this->dbName][$this->name] $column['Extra'] $column['Extra'] @@ -13395,7 +13449,6 @@ $index[0] $index[0] $masterField[$key] - $options['expr'] $row['Field'] $row['Field'] $row['Type'] @@ -13427,8 +13480,10 @@ $optionsArray[$existrelForeign[$masterFieldMd5]['on_delete'] ?? ''] $optionsArray[$existrelForeign[$masterFieldMd5]['on_update'] ?? ''] - + $GLOBALS['errorUrl'] + $altered + $altered $cachedResult $cachedResult $column @@ -13455,7 +13510,6 @@ $oneField $oneField $oneField - $options $refDbName $ret[] $row @@ -13486,10 +13540,22 @@ string string + + has + has + $backquoted ? Util::backquote($column) : $column $index[0] + + $altered + $altered + + + $altered->options + $altered->options + $tableAutoIncrement ?? '' $tableCollation @@ -13500,9 +13566,11 @@ end($this->messages) json_decode($value, true) - + $_POST['constraint_name'][$masterFieldMd5] + $fields[$column]['expr'] $oldIndex + $options['expr'] $_POST['constraint_name'][$masterFieldMd5] @@ -13538,15 +13606,15 @@ $optionsArray $optionsArray + + $statement->altered + $statement->altered + $column->getSubPart() Generator::mysqlDie($tmpErrorCreate, $createQuery, false, '', false) Generator::mysqlDie($tmpErrorDrop, $dropQuery, false, '', false) - - null - null - $existrelForeign[$masterFieldMd5] $existrelForeign[$masterFieldMd5] @@ -13829,11 +13897,6 @@ escapeString escapeString - - null - null - null - (int) $version - 1 @@ -13870,10 +13933,6 @@ $data['username'] $result['identifier'] - - $tokens[0]->value - $tokens[2]->value - self::$trackingCache[$dbName][$tableName] @@ -13887,17 +13946,37 @@ $statement->body[4]->value $statement->into->dest->table + + $statement->fields[0] + $statement->fields[0] + $statement->from[0] + $statement->renames[0] + $statement->tables[0] + $tokens[0] + $tokens[2] + $statement + + $parser->list->tokens + $statement->fields[0]->table + $statement->fields[0]->table + $statement->from[0]->table + $statement->into->dest + $statement->renames[0]->new + $statement->renames[0]->old + $statement->table->table + $statement->table->table + $statement->table->table + $statement->table->table + $statement->tables[0]->table + $tokens[0]->value + $tokens[2]->value + (string) $version - - $statement->name !== null - $statement->name !== null - isset($statement->options) - @@ -15141,10 +15220,16 @@ + + assertSame + $output $output + + $_SESSION['tmpval']['pftext'] + $_SESSION['tmpval']['display_binary'] $_SESSION['tmpval']['display_binary'] @@ -16349,19 +16434,12 @@ $_SESSION['cache']['server_server'] $result[0] - - $keyword - $keyword - $_SESSION['cache']['server_server'] $_SESSION['cache']['server_server'] $_SESSION['cache']['server_server'] $_SESSION['cache']['server_server'] - - $type - array array @@ -16382,9 +16460,6 @@ array array - - $type - testBackquote testGetScriptNameForOption