doctrine/doctrine-fixtures-bundle breaking changes
doctrine/doctrine-fixtures-bundle 4.0.0 (December 5, 2024) is its newest release with breaking changes, 18 of them. The first: Deprecated code removed in doctrine/doctrine-fixtures-bundle 4.0.0. Every breaking API change we have recorded in doctrine/doctrine-fixtures-bundle on Packagist: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.3.1, released December 3, 2025. MIT license. Source repository
Its 4.0.0 release requires PHP 8.1 or later. PHP end of life dates.
doctrine/doctrine-fixtures-bundle 4.0.0 breaking changes
- Removed
Previously deprecated code has been removed, so code that still uses it will fail. github.com - Removed
The package no longer supports doctrine/data-fixtures version 1, so projects using it must upgrade that dependency. github.com - Removed
Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\FixturesCompilerPass
Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\FixturesCompilerPass was removed in doctrine/doctrine-fixtures-bundle 4.0.0 packagist.org - Removed
Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\PurgerFactoryCompilerPass
Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\PurgerFactoryCompilerPass was removed in doctrine/doctrine-fixtures-bundle 4.0.0 packagist.org - Removed
Doctrine\Bundle\FixturesBundle\DependencyInjection\DoctrineFixturesExtension
Doctrine\Bundle\FixturesBundle\DependencyInjection\DoctrineFixturesExtension was removed in doctrine/doctrine-fixtures-bundle 4.0.0 packagist.org - Behavior changed
Classes that can be made final are now final, so code that extends them will break. github.com - Behavior changed
Dependency injection classes are now marked internal, so code outside the bundle should not depend on them. github.com - Configuration changed
The minimum supported Symfony version is now 5.4 and the minimum PHP version is 8.1. github.com - Signature changed
Methods now declare native return types, which can break subclasses or callers that rely on the old signatures. github.com - Signature changed
Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand
Was class LoadDataFixturesDoctrineCommand extends DoctrineCommand; now final class LoadDataFixturesDoctrineCommand extends DoctrineCommand. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand::__construct
Was public function __construct(SymfonyFixturesLoader $fixturesLoader, ?ManagerRegistry $doctrine = null, array $purgerFactories = []); now public function __construct(private SymfonyFixturesLoader $fixturesLoader, ManagerRegistry... packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand::configure
Was protected function configure(); now protected function configure(): void. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle
Was class DoctrineFixturesBundle extends Bundle; now final class DoctrineFixturesBundle extends Bundle. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::build
Was public function build(ContainerBuilder $container); now public function build(ContainerBuilder $container): void. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader
Was final class SymfonyFixturesLoader extends SymfonyBridgeLoader; now final class SymfonyFixturesLoader extends Loader. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader::createFixture
Was protected function createFixture($class): FixtureInterface; now protected function createFixture(string $class): FixtureInterface. packagist.org - Signature changed
Doctrine\Bundle\FixturesBundle\Purger\ORMPurgerFactory::createForEntityManager
Was public function createForEntityManager(?string $emName, EntityManagerInterface $em, array $excluded = [], bool $purgeWithTruncate = false): PurgerInterface; now public function createForEntityManager(string|null $emName... packagist.org - Signature changed
PurgerFactory
PurgerFactory is now generic, which can change type signatures for code that implements or extends it. github.com
Related packages
- doctrine/annotations
- doctrine/coding-standard
- doctrine/collections
- doctrine/dbal
- doctrine/doctrine-bundle
- doctrine/doctrine-migrations-bundle
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.