Nicolas PHILIPPE
Nicolas PHILIPPE
I've made some tests here, using phpstan 1.10 + bleeding edge and everything is OK if `@phpstan-method` is updated to: ```php @phpstan-method static MyRepository&RepositoryProxy repository() ``` this might be a...
Yes, but after reflexion, I'm wondering if this won't break static analysis on client side 🤔 for factories which already have the annotation... PhpStan will say the template type is...
if [this PR](https://github.com/zenstruck/foundry/pull/456) gets accepted, I think we should wait for it before fixing this issue
I think this problem is now solved in v2
Hi @X-Coder264 > Is there anything left to be done before this can be merged? we would like to try another way of doing this: `FactoryCollection::create()` could return directly an...
very strange :thinking: I already had these errors in #393 but they were fixed by adding a condition on the migrations related to PHP 8.1 https://github.com/zenstruck/foundry/blob/1.x/tests/Fixtures/Migrations/Version20230109134337.php#L19
would you mind rebasing on 1.x?
I think we really should have this work with `cascade={"persist"}` since it is really common to have this
@kbond I've found why some tests not related to this PR are failing. Could you add this code to all migration which does not have it? ```php public function isTransactional():...
hey @kbond could we close this PR now, since we'e merged https://github.com/zenstruck/foundry/pull/645 ?