Move Annotation fixtures to Core

This commit is contained in:
Yassine Guedidi 2023-12-25 18:42:36 +01:00
parent 2ed8c219cc
commit 1a6036cb23
2 changed files with 1 additions and 7 deletions

View File

@ -31,8 +31,3 @@ services:
resource: '../../src/Wallabag/CoreBundle/DataFixtures/*'
tags: ['doctrine.fixture.orm']
autowire: true
Wallabag\AnnotationBundle\DataFixtures\:
resource: '../../src/Wallabag/AnnotationBundle/DataFixtures/*'
tags: ['doctrine.fixture.orm']
autowire: true

View File

@ -1,12 +1,11 @@
<?php
namespace Wallabag\AnnotationBundle\DataFixtures;
namespace Wallabag\CoreBundle\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Persistence\ObjectManager;
use Wallabag\AnnotationBundle\Entity\Annotation;
use Wallabag\CoreBundle\DataFixtures\EntryFixtures;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\UserBundle\DataFixtures\UserFixtures;
use Wallabag\UserBundle\Entity\User;