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
608 stars 63 forks source link

fix(2.x): restore PHPUnit error handler #587

Closed nikophil closed 2 months ago

nikophil commented 2 months ago

this PR reproduces the behavior here: https://github.com/zenstruck/foundry/pull/577

At some point I'm wondering if we should not add in our tests permutations phpunit >= 10, WDYT?