Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the data fixtures #1546

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Update the data fixtures #1546

merged 1 commit into from
Dec 10, 2024

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