Nicolas PHILIPPE

Results 319 comments of Nicolas PHILIPPE

shouldn't we provide a `->mockInContainer($serviceId, $mockedService)` (or maybe another name: `replaceInContainer()`) and document this?

beside of this, do we really need to call `ensureKernelShutdown()` when `browser()` is called? > But the fact that it does boot up a new browser every time is not...

Thanks to pointing this issue. This would actually be the silver bullet for this problem Nevertheless, I'm still questioning the fact that we actually always reset the kernel before even...

> I don't know about php-parser library BC promise and release process I think they have a very strong BC policy. Rector, Phpstan, Psalm are built in top of it

I think the problem is more or less the same than https://github.com/zenstruck/foundry/issues/531 the `Publish` is a `ManyToOne` (without cascade persist) on `Program` which is used in the constructor. something like:...

> This is complete, correct? I'd say it's *almost* complete, I'd like to display a message when a factory does not exists... but that message will be removed when we'll...

hi! no, this was a false statement! Since then we've added the `@psalm-method` phpdocs https://github.com/zenstruck/foundry/blob/1.x/tests/Fixtures/Maker/expected/can_create_factory_for_entity_with_repository_with_data_set_psalm.php#L40-L53 Psalm/PHPStan detection is pretty weak here: it could fail if the default config file does...

Hello, you can list the connections/managers you want to reset, thanks to bundle configuration. You can find an example in the docs here: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#database-reset wouldn't it fix your case to...