wkania

Results 37 comments of wkania

@garak For example, Doctrine Migrations for PostgreSQL will generate migrations using the TIMESTAMP type instead of DATE. The schema will never be fully synchronized if you try to force it....

@derrabus Ok, so we're leaning more towards Symfony's naming conventions rather than Doctrine's. You contribute a lot to Doctrine, so this is an important note. Also, I will add a...

@derrabus After the changes you suggested, this is how it will look. ```yaml doctrine: dbal: types: date_point: Symfony\Bridge\Doctrine\Types\DatePointType date_point_date: Symfony\Bridge\Doctrine\Types\DatePointDateType ``` ```php #[ORM\Column(type: 'date_point_date')] public DatePoint $birthday; #[ORM\Column(type: 'date_point')] public...

Added missing [test](https://github.com/symfony/symfony/pull/60437)

@OskarStark I see several drawbacks to this solution: - Doctrine provides two separate classes for this: `DateImmutableType` and `DateTimeImmutableType` (see: [Doctrine DBAL Types](https://github.com/doctrine/dbal/tree/4.2.x/src/Types)). - We would need to extend the...

> Naming :) what about DayPointType (and TimePointType)? can you please rebase? DayPoint sounds better. So we will have: ```doctrine: dbal: types: date_point: Symfony\Bridge\Doctrine\Types\DatePointType day_point: Symfony\Bridge\Doctrine\Types\DayPointType time_point: Symfony\Bridge\Doctrine\Types\TimePointType ``` I...

Rebased, renamed and added TimePointType. Falling tests not related.

The problem also exists when the subject is encoded as UTF-8, like that: ``` // =?utf-8?B?UkU6IFtFWFRFUk5BTF0gUmU6IExvcmVtIElwc3VtIC8=?= =?utf-8?Q?40_one?= echo $mail->getSubject(); // RE: [EXTERNAL] Re: Lorem Ipsum / 40 one echo mb_decode_mimeheader($mail->getSubject());