Alexander M. Turek

Results 630 comments of Alexander M. Turek

Making the boolean type aware of `UNSIGNED` is a terrible idea, sorry. Shouldn't your problem go away if you register a custom type mapping for `TINYINT`?

> > Shouldn't your problem go away if you register a custom type mapping for TINYINT? > > Thanks, that was what occurred to me yesterday when I was going...

This is a known problem. DBAL does not support changing the precision of datetime fields. This is a planned feature and attempts have been made to contribute this, but so...

> I do not think the issue is with my custom type Okay, but it is. > I tried with the original `DateTimeTzImmutableType`, and the issue is the same, here...

Indeed, this looks like a bug. As a workaround, you can require the `symfony/polyfill-php80` package in your project which should declare the missing `ValueError` class. What shall we do here,...

> I'd say the polyfill shouldn't throw if it doesn't run on PHP 8. That'd also be the correct polyfilling behavior on PHP7. So, oldschool `trigger_error()` and `return false;`?

> since then I noticed there is no ssl reference for the pdo_mysql driver in https://doctrine-dbal.readthedocs.io/en/4.0.x/reference/configuration.html Please find our documentation here: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.0/reference/configuration.html --- Are you able to connect to that...