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
607 stars 62 forks source link

Creation of dynamic property App\Entity\MyEntity::$_autoRefresh is deprecated #630

Closed norkunas closed 2 weeks ago

norkunas commented 2 weeks ago

Running full suite currently getting this 276 times :smile:

nikophil commented 2 weeks ago

are you using symfony 7?

norkunas commented 2 weeks ago

Yes, this is while doing upgrade to 7.1

nikophil commented 2 weeks ago

we're investigating this here

let me close this issue

norkunas commented 2 weeks ago

Ah, thanks

nikophil commented 2 weeks ago

Hey @norkunas

maybe as a workaround for now while we're investigating for a solution, you can block symfony/var-exporter to ~7.0.x. It has no dependency, should not be problematic

norkunas commented 2 weeks ago

For me it works, it's just a deprecation :man_shrugging: