Nicolas PHILIPPE

Results 80 issues of Nicolas PHILIPPE

Hello, with ORM, this code leads to invalid SQL queries when `$field` is null: ``` ->andWhere('t.field = :field') ->setParameter('field', $field) ``` see https://github.com/doctrine/orm/issues/7289 do you think it could be nice...

fixes https://github.com/api-platform/docs/issues/994

Hello, we don't have the same connection strategy depending on if we are in production server or in staging/preprod: in prod we have multiple connections, with a RoundRobin strategy and...

I still need to polish some stuff (mainly some things in CI) we also need to target a branch `2.x` in `zenstruck/foundry`

- [ ] Doc update - [x] Bundle configuration - [x] Remove `auto_refresh_proxies` https://github.com/zenstruck/foundry/pull/524 - [x] ~Remove `make_factory`~ (I don't think we should do this) - [x] `without_constructor` => `use_constructor`...

From time to time there is the need to "merge" properties. Given the following code: ```php // BlogPostFactory public function defaults(): array { return [ 'tags' => [] ]; }...

Maybe we could use lazyness behavior of the proxy system and delay persistence when the object is accessed

enhancement

### Some words about the feature: with a DDD approach, all repositories would be interfaces, which opens the door to have multiple implementations: usually a Doctrine one and a "in-memory"...

enhancement

- [x] auto-detect phpstan and add specific `@phpstan-method` (not needed for psalm) https://github.com/zenstruck/foundry/pull/338 - [x] availability to create factory for object not related to doctrine https://github.com/zenstruck/foundry/pull/343 - [x] Use field...

enhancement

there is a subtle bug with `ResetDatabase` and dama, and maybe `zestruck\messenger-test`. Given this scenario: 1- test 1 (without reset trait) : because of the middleware, doctrine connection is initialized,...

bug