DoctrineFixturesGeneratorBundle icon indicating copy to clipboard operation
DoctrineFixturesGeneratorBundle copied to clipboard

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.

Results 9 DoctrineFixturesGeneratorBundle issues
Sort by recently updated
recently updated
newest added

This PR fixes the error below of incompatible interface for Symfony 4+ In DoctrineFixtureGenerator.php line 48: Argument 2 passed to Webonaute\DoctrineFixturesGeneratorBundle\Generator\DoctrineFixtureGenerator::__construct() must be an instance of Symfony\Bridge\Doctrine\Reg istryInterface, instance of...

DoctrineFixtureGenerator::__construct() must be an instance of Symfony\Bridge\Doctrine\RegistryInterface, instance of Doctrine\Bundle\DoctrineBundle\Registry given

Hi, thanks for your work ! I managed to make your bundle work under a Sf 3.4 non flex project. I don't know if there are more to do, because...

This makes the `doctrine:generate:fixture` available and usable on Symfony `4.2`, which seems to fix #55 I made this hasty fix by looking at the configuration of other bundles that successfully...

When launching doctrine:fixtures:load , after my own fixtures are loaded, test fixtures from the Webonaute try to load too: > loading [1] Webonaute\DoctrineFixturesGeneratorBundle\DataFixtures\ORM\LoadTestRelated I had to delete LoadTest and LoadTestRelated...

I have the following configuration: ``` entity_managers: default: connection: default naming_strategy: doctrine.orm.naming_strategy.underscore mappings: AppBundle: ~ gedmo_translatable: type: annotation prefix: Gedmo\Translatable\Entity dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity" alias: GedmoTranslatable # (optional) it will default to...

It seems like [FixtureGenerator::generateFixtureItemStub](https://github.com/Webonaute/DoctrineFixturesGeneratorBundle/blob/468fb47db2af12ac4b84c8a8142c7a1af69c24bc/Tool/FixtureGenerator.php#L322-L410) doesn't support [Doctrine Custom Mapping Types](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/custom-mapping-types.html) which returns object as a PHP value from `convertToPHPValue` method rather than `\DateTime` object. Following code will fail to generate...