Context
Downstream findings tracked at php-db/phpdb-mysql#65 (part of phpdb-mysql#60, mago analyze fixes).
Data
Two untyped array boundaries cause mixed-typed values to propagate wherever they're consumed downstream:
AbstractConnection::$connectionParameters (src/Adapter/Driver/AbstractConnection.php:13) — declared protected array $connectionParameters = []; with no shape.
ColumnInterface::getOptions(): array (src/Sql/Ddl/Column/ColumnInterface.php:22) and matching CreateTable::getOptions() / AlterTable::getOptions() — declared array with no shape.
@simon-mundy has the most context on this part of the SQL/metadata handling.
Context
Downstream findings tracked at php-db/phpdb-mysql#65 (part of phpdb-mysql#60, mago analyze fixes).
Data
Two untyped
arrayboundaries causemixed-typed values to propagate wherever they're consumed downstream:AbstractConnection::$connectionParameters(src/Adapter/Driver/AbstractConnection.php:13) — declaredprotected array $connectionParameters = [];with no shape.ColumnInterface::getOptions(): array(src/Sql/Ddl/Column/ColumnInterface.php:22) and matchingCreateTable::getOptions()/AlterTable::getOptions()— declaredarraywith no shape.@simon-mundy has the most context on this part of the SQL/metadata handling.