@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Victoire\Bundle\BusinessPageBundle\Entity\VirtualBusinessPage; |
| 16 | 16 | use Victoire\Bundle\CoreBundle\Exception\IdentifierNotDefinedException; |
| 17 | 17 | use Victoire\Bundle\CoreBundle\Helper\UrlBuilder; |
| 18 | -use Victoire\Bundle\I18nBundle\Entity\ViewTranslation; |
|
| 19 | 18 | use Victoire\Bundle\ViewReferenceBundle\Builder\ViewReferenceBuilder; |
| 20 | 19 | |
| 21 | 20 | /** |
@@ -6,9 +6,7 @@ |
||
| 6 | 6 | use Doctrine\Common\Collections\Collection; |
| 7 | 7 | use Doctrine\ORM\Mapping as ORM; |
| 8 | 8 | use Gedmo\Mapping\Annotation as Gedmo; |
| 9 | -use JMS\Serializer\Annotation as Serializer; |
|
| 10 | 9 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 11 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 12 | 10 | use Victoire\Bundle\BusinessPageBundle\Entity\BusinessTemplate; |
| 13 | 11 | use Victoire\Bundle\I18nBundle\Entity\ViewTranslation; |
| 14 | 12 | use Victoire\Bundle\TemplateBundle\Entity\Template; |
@@ -2,18 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Victoire\Bundle\FormBundle\Form\Type; |
| 4 | 4 | |
| 5 | -use A2lix\TranslationFormBundle\Form\Type\TranslationsFieldsType; |
|
| 6 | 5 | use Symfony\Bundle\FrameworkBundle\Routing\Router; |
| 7 | 6 | use Symfony\Component\Form\AbstractType; |
| 8 | -use Symfony\Component\Form\FormBuilderInterface; |
|
| 9 | -use Symfony\Component\Form\FormEvent; |
|
| 10 | -use Symfony\Component\Form\FormEvents; |
|
| 11 | 7 | use Symfony\Component\Form\FormInterface; |
| 12 | 8 | use Symfony\Component\Form\FormView; |
| 13 | 9 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 14 | 10 | use Victoire\Bundle\CoreBundle\Entity\View; |
| 15 | -use Victoire\Bundle\CoreBundle\Helper\UrlBuilder; |
|
| 16 | -use Victoire\Bundle\I18nBundle\Entity\ViewTranslation; |
|
| 17 | 11 | |
| 18 | 12 | /** |
| 19 | 13 | * Form field with some slug validation and domain prefix |
@@ -2,13 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Victoire\Bundle\I18nBundle\Command; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Tools\DisconnectedClassMetadataFactory; |
|
| 6 | 5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 7 | 6 | use Symfony\Component\Console\Input\InputInterface; |
| 8 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 9 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
| 10 | -use Victoire\Bundle\CoreBundle\Entity\Link; |
|
| 11 | -use Victoire\Bundle\I18nBundle\Entity\ViewTranslation; |
|
| 12 | 9 | use Victoire\Bundle\I18nBundle\Entity\ViewTranslationLegacy; |
| 13 | 10 | |
| 14 | 11 | class LegacyViewTranslationMigrationCommand extends ContainerAwareCommand |
@@ -2,11 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Victoire\Bundle\PageBundle\Entity\Traits; |
| 4 | 4 | |
| 5 | -use Doctrine\Common\Util\ClassUtils; |
|
| 6 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 7 | 6 | use Victoire\Bundle\CoreBundle\Annotations as VIC; |
| 8 | -use Victoire\Bundle\CoreBundle\Entity\WebViewInterface; |
|
| 9 | -use Victoire\Bundle\CoreBundle\Helper\UrlBuilder; |
|
| 10 | 7 | use Victoire\Bundle\PageBundle\Entity\PageStatus; |
| 11 | 8 | use Victoire\Bundle\SeoBundle\Entity\PageSeo; |
| 12 | 9 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Doctrine\ORM\Mapping\ManyToOne; |
| 9 | 9 | use Doctrine\ORM\Mapping\OneToMany; |
| 10 | 10 | use Doctrine\ORM\Mapping\OneToOne; |
| 11 | -use Doctrine\ORM\Query\Expr\Join; |
|
| 12 | 11 | use Doctrine\ORM\QueryBuilder; |
| 13 | 12 | use FOS\UserBundle\Model\UserInterface; |
| 14 | 13 | use Knp\DoctrineBehaviors\Model\Translatable\Translatable; |
@@ -3,12 +3,9 @@ |
||
| 3 | 3 | namespace Victoire\Bundle\ViewReferenceBundle\Helper; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use Doctrine\ORM\EntityRepository; |
|
| 7 | 6 | use Victoire\Bundle\BusinessPageBundle\Entity\BusinessPage; |
| 8 | -use Victoire\Bundle\BusinessPageBundle\Entity\VirtualBusinessPage; |
|
| 9 | 7 | use Victoire\Bundle\CoreBundle\Entity\View; |
| 10 | 8 | use Victoire\Bundle\CoreBundle\Entity\WebViewInterface; |
| 11 | -use Victoire\Bundle\I18nBundle\Entity\ViewTranslation; |
|
| 12 | 9 | use Victoire\Bundle\ViewReferenceBundle\Builder\ViewReferenceBuilder; |
| 13 | 10 | |
| 14 | 11 | /** |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
| 6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
| 7 | -use Knp\DoctrineBehaviors\Model\Translatable\Translatable; |
|
| 8 | 7 | use Nelmio\Alice\Fixtures; |
| 9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
| 10 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |