@@ -2,14 +2,14 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\DependencyInjection; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor; |
|
6 | 5 | use Symfony\Component\Config\FileLocator; |
6 | +use Symfony\Component\Config\Resource\FileResource; |
|
7 | 7 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
8 | 8 | use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
9 | 9 | use Symfony\Component\DependencyInjection\Loader; |
10 | 10 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
11 | -use Symfony\Component\Config\Resource\FileResource; |
|
12 | 11 | use Symfony\Component\Yaml\Yaml; |
12 | +use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor; |
|
13 | 13 | use function array_merge; |
14 | 14 | |
15 | 15 | /** |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\DependencyInjection; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\Configuration as SiteAccessConfiguration; |
|
6 | -use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
|
7 | 5 | use Symfony\Component\Config\Definition\Builder\NodeBuilder; |
6 | +use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
|
7 | +use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\Configuration as SiteAccessConfiguration; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * This is the class that validates and merges configuration from your app/config files. |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\API\Form; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\Content\Content; |
|
8 | -use eZ\Publish\API\Repository\Values\Content\Location; |
|
9 | 7 | use Symfony\Component\Form\FormBuilderInterface; |
10 | 8 | use Symfony\Component\Form\FormInterface; |
9 | +use eZ\Publish\API\Repository\Values\Content\Content; |
|
10 | +use eZ\Publish\API\Repository\Values\Content\Location; |
|
11 | 11 | |
12 | 12 | interface DynamicFormBuilderInterface |
13 | 13 | { |
@@ -5,8 +5,8 @@ |
||
5 | 5 | namespace Netgen\InformationCollection\Core\Mailer; |
6 | 6 | |
7 | 7 | use Netgen\InformationCollection\API\Exception\EmailNotSentException; |
8 | -use Netgen\InformationCollection\API\Value\DataTransfer\EmailContent; |
|
9 | 8 | use Netgen\InformationCollection\API\Mailer\MailerInterface; |
9 | +use Netgen\InformationCollection\API\Value\DataTransfer\EmailContent; |
|
10 | 10 | |
11 | 11 | class Mailer implements MailerInterface |
12 | 12 | { |
@@ -4,13 +4,12 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Integration\RepositoryForms; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
8 | -use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; |
|
9 | -use eZ\Publish\API\Repository\Values\ValueObject; |
|
10 | -use eZ\Publish\SPI\Search\Field; |
|
11 | 7 | use EzSystems\RepositoryForms\Data\Content\FieldData; |
12 | 8 | use EzSystems\RepositoryForms\Data\Mapper\FormDataMapperInterface; |
13 | 9 | use Symfony\Component\OptionsResolver\OptionsResolver; |
10 | +use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
11 | +use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; |
|
12 | +use eZ\Publish\API\Repository\Values\ValueObject; |
|
14 | 13 | |
15 | 14 | class InformationCollectionMapper implements FormDataMapperInterface |
16 | 15 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Integration\RepositoryForms; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\Content\ContentStruct; |
|
8 | 7 | use EzSystems\RepositoryForms\Form\Type\Content\BaseContentType; |
9 | 8 | use Symfony\Component\Form\AbstractType; |
10 | 9 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
6 | 5 | use Netgen\InformationCollection\API\Service\InformationCollection; |
7 | 6 | use Netgen\InformationCollection\API\Value\Content; |
8 | 7 | use Netgen\InformationCollection\API\Value\Filter\Query; |
9 | 8 | use Symfony\Component\HttpFoundation\JsonResponse; |
10 | 9 | use Symfony\Component\Routing\RouterInterface; |
11 | 10 | use Symfony\Component\Translation\TranslatorInterface; |
11 | +use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
12 | 12 | |
13 | 13 | class TreeController extends Controller |
14 | 14 | { |
@@ -10,8 +10,8 @@ |
||
10 | 10 | use Netgen\Bundle\InformationCollectionBundle\Core\Persistence\ContentTypeUtils; |
11 | 11 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollection; |
12 | 12 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute; |
13 | -use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
14 | 13 | use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionAttributeRepository; |
14 | +use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
15 | 15 | use Symfony\Component\Translation\TranslatorInterface; |
16 | 16 | |
17 | 17 | class ExporterService implements Exporter |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Core\Service; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Repository; |
|
8 | 7 | use Netgen\InformationCollection\API\Service\InformationCollection; |
9 | 8 | use Netgen\InformationCollection\API\Value\Attribute; |
10 | 9 | use Netgen\InformationCollection\API\Value\Collection; |
@@ -14,8 +13,9 @@ discard block |
||
14 | 13 | use Netgen\InformationCollection\API\Value\Filter\Query; |
15 | 14 | use Netgen\InformationCollection\Core\Persistence\Gateway\DoctrineDatabase; |
16 | 15 | use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute; |
17 | -use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
18 | 16 | use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionAttributeRepository; |
17 | +use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository; |
|
18 | +use eZ\Publish\API\Repository\Repository; |
|
19 | 19 | |
20 | 20 | class InformationCollectionService implements InformationCollection |
21 | 21 | { |