doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.78k stars 223 forks source link

Added test showing the issue when fixture depends on ordered fixture #441

Closed stollr closed 1 year ago

stollr commented 1 year ago

This test shows the issue described in #148.

The error handler has to be replaced for the test, because otherwise the code works and the deprecation for the undefined array key does not show up.

Closes #198

stollr commented 1 year ago

I have added a fix to the issue, now, too. I hope it is okay to do it in the same PR.

stollr commented 1 year ago

@derrabus Thanks for your improvement. It is much cleaner indeed.

greg0ire commented 1 year ago

@stollr please run vendor/bin/phpcbf and squash the commits

stollr commented 1 year ago

@greg0ire done

greg0ire commented 1 year ago

Thanks @stollr !