Skip to content

Bump doctrine/doctrine-fixtures-bundle from 3.7.1 to 4.1.0 #1530

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2025

Bumps doctrine/doctrine-fixtures-bundle from 3.7.1 to 4.1.0.

Release notes

Sourced from doctrine/doctrine-fixtures-bundle's releases.

4.1.0

Release Notes for 4.1.0

Feature release (minor)

4.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Improvement

4.0.0

Release Notes for 4.0.0

Backwards incompatible release (major)

4.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 11
  • Total contributors: 3

Breaking changes

Dependencies

Static Analysis

Internal

... (truncated)

Upgrade guide

Sourced from doctrine/doctrine-fixtures-bundle's upgrade guide.

UPGRADE to 4.0

Type declarations

Type declarations have been added everywhere. Types extending or implementing types from this bundle need to be updated to match the new signatures.

Final classes

Some classes have been marked as final because they are not supposed to be extended. Consider using composition instead of inheritance.

Mandatory ManagerRegistry argument

It is now mandatory to pass a ManagerRegistry instance to the constructor of Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand.

UPGRADE to 3.0

  • The automatic loading of fixtures in a directory (e.g. AppBundle\DataFixtures\ORM) was removed. Instead, register your fixture classes as services and tag them with doctrine.fixture.orm, like this:
# src/AppBundle/Resources/config/dataFixture.yml
services:
  _defaults:
    tags: ['doctrine.fixture.orm']
    autowire: true # if you need dependency injection, see next bullet point
AppBundle\DataFixtures\ORM:
resource: '../../DataFixtures/ORM/*'

This will happen automatically if you're using the Symfony 3.3 or higher default service configuration and your fixture classes extend the normal Doctrine\Bundle\FixturesBundle\Fixture class, or implement the new Doctrine\Bundle\FixturesBundle\ORMFixtureInterface.

  • The base Fixture class no longer implements ContainerAwareInterface and so no longer have a $this->container property. You can manually implement this interface. Or, a better idea is to update your fixtures to use dependency injection:
class MyFixture extends Fixture
{
</tr></table> 

... (truncated)

Commits
  • a06db6b Merge pull request #505 from doctrine/4.0.x
  • f83d498 Merge pull request #504 from greg0ire/4.0.x
  • d283290 Merge remote-tracking branch 'origin/3.7.x' into 4.0.x
  • 78e2448 Merge pull request #501 from doctrine/dependabot/composer/3.7.x/doctrine/codi...
  • ff70a86 Update doctrine/coding-standard requirement from 12.0.0 to 13.0.0
  • 00739dc Update symfony/phpunit-bridge requirement from 6.4.16 to 7.2.0 (#503)
  • b8bef49 Update phpstan/phpstan requirement from 2.1.8 to 2.1.11 (#502)
  • 6bb5328 Merge pull request #497 from greg0ire/dependabot-php
  • ac08178 Merge pull request #495 from greg0ire/persistence-4-compat
  • 73ae542 Merge pull request #500 from doctrine/4.0.x
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update PHP code labels Mar 29, 2025
@dependabot dependabot bot force-pushed the dependabot/composer/doctrine/doctrine-fixtures-bundle-4.1.0 branch from 2de6d67 to 975d3b7 Compare March 30, 2025 15:20
Bumps [doctrine/doctrine-fixtures-bundle](https://github.com/doctrine/DoctrineFixturesBundle) from 3.7.1 to 4.1.0.
- [Release notes](https://github.com/doctrine/DoctrineFixturesBundle/releases)
- [Upgrade guide](https://github.com/doctrine/DoctrineFixturesBundle/blob/4.1.x/UPGRADE.md)
- [Commits](doctrine/DoctrineFixturesBundle@3.7.1...4.1.0)

---
updated-dependencies:
- dependency-name: doctrine/doctrine-fixtures-bundle
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/doctrine/doctrine-fixtures-bundle-4.1.0 branch from 975d3b7 to 74706c0 Compare April 15, 2025 10:18
Copy link
Contributor

This PR is stale because it has been open 40 days with no activity.

@github-actions github-actions bot added the Stale Inactivity for too long label Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update PHP code Stale Inactivity for too long
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants