foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Using `Zenstruck\Foundry\Test\Factories` triggers deprecations

Open deluxetom opened this issue 1 year ago • 1 comments

Similar to https://github.com/zenstruck/foundry/issues/680 and https://github.com/zenstruck/foundry/issues/650

I tried everything to ignore those:

  • Removed phpunit-bridge
  • Updated the deprecation level (via SYMFONY_DEPRECATIONS_HELPER) but thats just in PHPUnit, it shouldn't impact Symfony
Screenshot 2024-09-30 at 9 43 32 AM

I'm not sure what else to try to remove those internal notices. I use Factories in my data fixtures, dev and test environments

Let me know if I missed something

deluxetom avatar Sep 30 '24 14:09 deluxetom

Hi,

sorry for the late answer... I think I've finally found an elegant solution for this

see https://github.com/zenstruck/foundry/pull/704

nikophil avatar Oct 18 '24 15:10 nikophil

fixed by https://github.com/zenstruck/foundry/pull/704

nikophil avatar Oct 23 '24 08:10 nikophil