@@ -11,8 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\ReviewBundle\Updater; |
13 | 13 | |
14 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
15 | 14 | use Sylius\Component\Review\Model\ReviewInterface; |
15 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * @author Mateusz Zalewski <[email protected]> |
@@ -14,25 +14,25 @@ |
||
14 | 14 | use Elastica\Aggregation\Filter; |
15 | 15 | use Elastica\Aggregation\Range as AggregationRange; |
16 | 16 | use Elastica\Aggregation\Terms as AggregationTerms; |
17 | -use Elastica\Query; |
|
18 | -use Elastica\Query\BoolQuery; |
|
19 | -use Elastica\Query\Filtered; |
|
20 | -use Elastica\Query\QueryString; |
|
21 | -use Elastica\Query\Range as QueryRange; |
|
22 | -use Elastica\Query\Term as QueryTerm; |
|
23 | 17 | use Elastica\Filter\BoolFilter; |
24 | 18 | use Elastica\Filter\BoolOr; |
25 | 19 | use Elastica\Filter\Missing; |
26 | 20 | use Elastica\Filter\Nested; |
27 | 21 | use Elastica\Filter\Range as FilterRange; |
28 | -use Elastica\Filter\Type; |
|
29 | 22 | use Elastica\Filter\Term as FilterTerm; |
30 | 23 | use Elastica\Filter\Terms as FilterTerms; |
24 | +use Elastica\Filter\Type; |
|
25 | +use Elastica\Query; |
|
26 | +use Elastica\Query\BoolQuery; |
|
27 | +use Elastica\Query\Filtered; |
|
28 | +use Elastica\Query\QueryString; |
|
29 | +use Elastica\Query\Range as QueryRange; |
|
30 | +use Elastica\Query\Term as QueryTerm; |
|
31 | 31 | use Sylius\Bundle\SearchBundle\Doctrine\ORM\SearchIndexRepository; |
32 | +use Sylius\Bundle\SearchBundle\QueryLogger\QueryLoggerInterface; |
|
32 | 33 | use Sylius\Bundle\SearchBundle\Query\Query as SyliusSearchQuery; |
33 | 34 | use Sylius\Bundle\SearchBundle\Query\SearchStringQuery; |
34 | 35 | use Sylius\Bundle\SearchBundle\Query\TaxonQuery; |
35 | -use Sylius\Bundle\SearchBundle\QueryLogger\QueryLoggerInterface; |
|
36 | 36 | use Sylius\Component\Channel\Context\ChannelContextInterface; |
37 | 37 | |
38 | 38 | /** |
@@ -16,10 +16,10 @@ |
||
16 | 16 | use Pagerfanta\Pagerfanta; |
17 | 17 | use Sylius\Bundle\SearchBundle\Doctrine\ORM\SearchIndexRepository; |
18 | 18 | use Sylius\Bundle\SearchBundle\Model\SearchIndex; |
19 | +use Sylius\Bundle\SearchBundle\QueryLogger\QueryLoggerInterface; |
|
19 | 20 | use Sylius\Bundle\SearchBundle\Query\Query; |
20 | 21 | use Sylius\Bundle\SearchBundle\Query\SearchStringQuery; |
21 | 22 | use Sylius\Bundle\SearchBundle\Query\TaxonQuery; |
22 | -use Sylius\Bundle\SearchBundle\QueryLogger\QueryLoggerInterface; |
|
23 | 23 | use Sylius\Component\Channel\Context\ChannelContextInterface; |
24 | 24 | |
25 | 25 | /** |
@@ -14,9 +14,9 @@ |
||
14 | 14 | use Doctrine\Common\EventSubscriber; |
15 | 15 | use Doctrine\ORM\Event\LifecycleEventArgs; |
16 | 16 | use FOS\ElasticaBundle\Persister\ObjectPersister; |
17 | +use Sylius\Component\Core\Model\ProductTranslation; |
|
17 | 18 | use Sylius\Component\Product\Model\AttributeValueInterface; |
18 | 19 | use Sylius\Component\Product\Model\ProductInterface; |
19 | -use Sylius\Component\Core\Model\ProductTranslation; |
|
20 | 20 | use Sylius\Component\Variation\Model\VariantInterface; |
21 | 21 | |
22 | 22 | /** |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\ORM\AbstractQuery; |
15 | 15 | use Doctrine\ORM\EntityManager; |
16 | 16 | use Doctrine\ORM\EntityManagerInterface; |
17 | -use Doctrine\ORM\Query; |
|
18 | 17 | use PhpSpec\ObjectBehavior; |
19 | 18 | use Prophecy\Argument; |
20 | 19 | use Sylius\Bundle\SearchBundle\Doctrine\ORM\SearchIndexRepository; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\SettingsBundle\Manager\SettingsManagerInterface; |
17 | 17 | use Symfony\Component\HttpFoundation\Request; |
18 | 18 | use Symfony\Component\HttpFoundation\Response; |
19 | -use Symfony\Component\OptionsResolver\Exception\MissingOptionsException; |
|
20 | 19 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
21 | 20 | use Symfony\Component\Translation\TranslatorInterface; |
22 | 21 | use Symfony\Component\Validator\Exception\ValidatorException; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\SettingsBundle\Schema; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Bundle\SettingsBundle\Schema\CallbackSchema; |
17 | 16 | use Sylius\Bundle\SettingsBundle\Schema\SchemaInterface; |
18 | 17 | use Sylius\Bundle\SettingsBundle\Schema\SettingsBuilderInterface; |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\SettingsBundle\Transformer; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Sylius\Bundle\SettingsBundle\spec\Fixture\ParameterFixture; |
|
16 | 15 | use Sylius\Bundle\SettingsBundle\Transformer\ParameterTransformerInterface; |
16 | +use Sylius\Bundle\SettingsBundle\spec\Fixture\ParameterFixture; |
|
17 | 17 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
18 | 18 | |
19 | 19 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ThemeBundle\Locator; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ThemeBundle\Factory\FinderFactoryInterface; |
15 | -use Symfony\Component\Finder\Finder; |
|
16 | 15 | use Symfony\Component\Finder\SplFileInfo; |
17 | 16 | |
18 | 17 | /** |