Skip to content

Conversation

rosier
Copy link
Contributor

@rosier rosier commented Dec 9, 2024

The class parameter is now mandatory for references.

Fixes exception when running bin/console doctrine:fixtures:load:

[ArgumentCountError]
  Too few arguments to function Doctrine\Common\DataFixtures\AbstractFixture::getReference(), 1 passed in /workspace/project/src/DataFi
  xtures/AppFixtures.php on line 143 and exactly 2 expected

Related to: doctrine/data-fixtures#464

@javiereguiluz
Copy link
Member

Nice changes! Thanks a lot Jan for fixing this.

@javiereguiluz javiereguiluz merged commit 381f0fd into symfony:main Dec 10, 2024
6 checks passed
@rosier rosier deleted the data-fixtures branch December 10, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants