@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle; |
4 | 4 | |
5 | -use eZ\Publish\Core\MVC\Symfony\View\ContentValueView; |
|
6 | -use eZ\Publish\Core\MVC\Symfony\View\LocationValueView; |
|
7 | 5 | use Netgen\Bundle\InformationCollectionBundle\Event\InformationCollected; |
8 | 6 | use Symfony\Component\HttpFoundation\Request; |
7 | +use eZ\Publish\Core\MVC\Symfony\View\ContentValueView; |
|
8 | +use eZ\Publish\Core\MVC\Symfony\View\LocationValueView; |
|
9 | 9 | |
10 | 10 | trait InformationCollectionTrait |
11 | 11 | { |
@@ -3,15 +3,15 @@ |
||
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Action; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\DBALException; |
6 | -use eZ\Publish\API\Repository\Repository; |
|
7 | -use eZ\Publish\API\Repository\Values\User\User; |
|
8 | -use eZ\Publish\Core\Repository\Values\Content\Content; |
|
9 | 6 | use Netgen\Bundle\InformationCollectionBundle\Entity\EzInfoCollection; |
10 | 7 | use Netgen\Bundle\InformationCollectionBundle\Event\InformationCollected; |
11 | 8 | use Netgen\Bundle\InformationCollectionBundle\Exception\ActionFailedException; |
12 | 9 | use Netgen\Bundle\InformationCollectionBundle\Factory\FieldDataFactory; |
13 | 10 | use Netgen\Bundle\InformationCollectionBundle\Repository\RepositoryAggregate; |
14 | 11 | use Netgen\Bundle\InformationCollectionBundle\Value\LegacyData; |
12 | +use eZ\Publish\API\Repository\Repository; |
|
13 | +use eZ\Publish\API\Repository\Values\User\User; |
|
14 | +use eZ\Publish\Core\Repository\Values\Content\Content; |
|
15 | 15 | |
16 | 16 | class DatabaseAction implements ActionInterface, CrucialActionInterface |
17 | 17 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Controller; |
4 | 4 | |
5 | -use eZ\Publish\Core\MVC\Symfony\View\CachableView; |
|
6 | -use eZ\Publish\Core\MVC\Symfony\View\ContentValueView; |
|
7 | 5 | use Netgen\Bundle\InformationCollectionBundle\InformationCollectionTrait; |
8 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
9 | 7 | use Symfony\Component\DependencyInjection\ContainerAwareTrait; |
10 | 8 | use Symfony\Component\HttpFoundation\Request; |
9 | +use eZ\Publish\Core\MVC\Symfony\View\CachableView; |
|
10 | +use eZ\Publish\Core\MVC\Symfony\View\ContentValueView; |
|
11 | 11 | |
12 | 12 | class InformationCollectionController implements ContainerAwareInterface |
13 | 13 | { |
@@ -3,17 +3,6 @@ discard block |
||
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Tests\Action; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\DBALException; |
6 | -use eZ\Publish\API\Repository\Values\Content\Field; |
|
7 | -use eZ\Publish\Core\FieldType\TextLine\Value as TextLineValue; |
|
8 | -use eZ\Publish\Core\Repository\ContentService; |
|
9 | -use eZ\Publish\Core\Repository\Repository; |
|
10 | -use eZ\Publish\Core\Repository\Values\Content\Content; |
|
11 | -use eZ\Publish\Core\Repository\Values\Content\Location; |
|
12 | -use eZ\Publish\Core\Repository\Values\Content\VersionInfo; |
|
13 | -use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
|
14 | -use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; |
|
15 | -use eZ\Publish\Core\Repository\Values\User\User; |
|
16 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
17 | 6 | use Netgen\Bundle\EzFormsBundle\Form\DataWrapper; |
18 | 7 | use Netgen\Bundle\EzFormsBundle\Form\Payload\InformationCollectionStruct; |
19 | 8 | use Netgen\Bundle\InformationCollectionBundle\Action\DatabaseAction; |
@@ -24,6 +13,17 @@ discard block |
||
24 | 13 | use Netgen\Bundle\InformationCollectionBundle\Repository\RepositoryAggregate; |
25 | 14 | use Netgen\Bundle\InformationCollectionBundle\Value\LegacyData; |
26 | 15 | use PHPUnit\Framework\TestCase; |
16 | +use eZ\Publish\API\Repository\Values\Content\Field; |
|
17 | +use eZ\Publish\Core\FieldType\TextLine\Value as TextLineValue; |
|
18 | +use eZ\Publish\Core\Repository\ContentService; |
|
19 | +use eZ\Publish\Core\Repository\Repository; |
|
20 | +use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
|
21 | +use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; |
|
22 | +use eZ\Publish\Core\Repository\Values\Content\Content; |
|
23 | +use eZ\Publish\Core\Repository\Values\Content\Location; |
|
24 | +use eZ\Publish\Core\Repository\Values\Content\VersionInfo; |
|
25 | +use eZ\Publish\Core\Repository\Values\User\User; |
|
26 | +use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
27 | 27 | |
28 | 28 | class DatabaseActionTest extends TestCase |
29 | 29 | { |