zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
609 stars 63 forks source link

2.x checklist #516

Closed kbond closed 1 week ago

kbond commented 7 months ago

(to be moved to 2.x PR)

nikophil commented 6 months ago

Static analysis

=> phpstan wants a closure which returns a T&Proxy<T> because the factory is a "persistence with proxy", and the template type is T&Proxy<T>. I think this is a blocker

nikophil commented 2 months ago

I'm adding some todo here both of these PRs should be ported in 2.x: