Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #581 Alias the slugger to fix fixtures loading (ogizanagi)
This PR was merged into the master branch. Discussion ---------- Alias the slugger to fix fixtures loading Fixes current exception: ```php [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException] You have requested a non-existent service "slugger". Did you mean this: "logger"? ``` `ContainerAwareInterface` still is the way to access services inside fixture loaders. Maybe something could be done on the doctrine-fixtures-bundle side, but for now we need to have a public alias for this service. We could also exclude the `DataFixtures\ORM` folder from PSR-4 loading, but it's probably not worth it and may "overwhelm" a little newcomers: ```diff - exclude: '../../src/AppBundle/{Controller,Entity,Repository}' + exclude: '../../src/AppBundle/{Controller,Entity,Repository,DataFixtures/ORM}' ``` Commits ------- 334f770 Alias the slugger to fix fixtures loading
- Loading branch information