I upgraded symfony 3.3 to 3.4 and now having problem with datafixture bundle , trying to seed data for testing but got this error :
Attempted to call an undefined method named "addClass" of class "Doctrine\ORM\Internal\CommitOrderCalculator"
this is part of my ccomposer.json file :
"require-dev": { "doctrine/doctrine-fixtures-bundle": "^3.0", "sensio/generator-bundle": "^3.0", "symfony/phpunit-bridge": "^3.0" }
any help will be appreciated
"doctrine/data-fixtures": "^1.3"its a newer version which should fix the issue - Fabian Schmick