Closed BigMichi1 closed 8 months ago
we have the same issue but with bool
values with MySQL
@BigMichi1 Does #1374 fix the issue for you?
we have the same problem with Symfony\Component\Uid\Uuid values
use Symfony\Component\Uid\Uuid;
...
$this->addSql('INSERT IGNORE INTO pay_gateways (id, method) VALUES (:id, :method)', [
'id' => Uuid::v4(),
'method' => 'credit_card',
]);
...
In InlineParameterFormatter.php line 61:
[TypeError] Doctrine\Migrations\InlineParameterFormatter::formatParameter(): Return value must be of type array|string|int|float|null, Symfony\Component\Uid\UuidV1 returned
probably this method should return mixed
to not cover all possible types?
BC Break Report
Summary
when running my set of migrations against an empty database with 3.6.0 everything works, with 3.7.0 it fails
Previous behavior
migrations should run
Current behavior
How to reproduce
$value
is a double of0.5
$type
is a string withstring
and database platform is "SQLite" on PHP 8.2.10