Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
ResourceBundle/Doctrine/ODM/PHPCR/EventListener/DefaultParentListener.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener;
4 4
 
5
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
6
-use Symfony\Component\Form\FormEvents;
7
-use Symfony\Component\Form\FormEvent;
8 5
 use Doctrine\ODM\PHPCR\DocumentManagerInterface;
9
-use PHPCR\Util\NodeHelper;
10 6
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
7
+use PHPCR\Util\NodeHelper;
11 8
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
12 9
 
13 10
 /**
Please login to merge, or discard this patch.
ResourceBundle/Doctrine/ODM/PHPCR/EventListener/NameFilterListener.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -11,12 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener;
13 13
 
14
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15
-use Symfony\Component\Form\FormEvents;
16
-use Symfony\Component\Form\FormEvent;
17 14
 use Doctrine\ODM\PHPCR\DocumentManagerInterface;
18
-use PHPCR\Util\NodeHelper;
19
-use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
20 15
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
21 16
 
22 17
 /**
Please login to merge, or discard this patch.
ResourceBundle/Doctrine/ODM/PHPCR/EventListener/NameResolverListener.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -11,11 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener;
13 13
 
14
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15
-use Symfony\Component\Form\FormEvents;
16
-use Symfony\Component\Form\FormEvent;
17 14
 use Doctrine\ODM\PHPCR\DocumentManagerInterface;
18
-use PHPCR\Util\NodeHelper;
19 15
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
20 16
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
21 17
 
Please login to merge, or discard this patch.
ResourceBundle/Doctrine/ODM/PHPCR/Form/Builder/DefaultFormBuilder.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,14 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Builder;
13 13
 
14
-use Doctrine\DBAL\Types\Type;
14
+use Doctrine\ODM\PHPCR\DocumentManagerInterface;
15 15
 use Sylius\Bundle\ResourceBundle\Form\Builder\DefaultFormBuilderInterface;
16 16
 use Sylius\Component\Resource\Metadata\MetadataInterface;
17 17
 use Symfony\Component\Form\FormBuilderInterface;
18
-use Doctrine\ODM\PHPCR\DocumentManagerInterface;
19
-use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
20
-use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Subscriber\DefaultPathSubscriber;
21
-use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Subscriber\NameResolverSubscriber;
22 18
 
23 19
 /**
24 20
  * @author Daniel Leech <[email protected]>
Please login to merge, or discard this patch.
spec/Doctrine/ODM/PHPCR/EventListener/NameResolverListenerSpec.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,13 +11,12 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener;
13 13
 
14
+use Doctrine\ODM\PHPCR\DocumentManagerInterface;
15
+use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
16
+use PHPCR\NodeInterface;
14 17
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 18
 use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener\NameResolverListener;
17
-use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
18 19
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
19
-use Doctrine\ODM\PHPCR\DocumentManagerInterface;
20
-use PHPCR\NodeInterface;
21 20
 
22 21
 /**
23 22
  * @author Daniel Leech <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Sylius\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository;
17 17
 use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType;
18 18
 use Sylius\Component\Resource\Factory\Factory;
19
-use Sylius\Component\Review\Model\ReviewerInterface;
20 19
 use Sylius\Component\Review\Model\ReviewInterface;
20
+use Sylius\Component\Review\Model\ReviewerInterface;
21 21
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
22 22
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
23 23
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Remover/ReviewerReviewsRemover.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,9 @@
 block discarded – undo
14 14
 use Doctrine\Common\Persistence\ObjectManager;
15 15
 use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;
16 16
 use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface;
17
-use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface;
17
+use Sylius\Component\Review\Model\ReviewInterface;
18 18
 use Sylius\Component\Review\Model\ReviewableInterface;
19 19
 use Sylius\Component\Review\Model\ReviewerInterface;
20
-use Sylius\Component\Review\Model\ReviewInterface;
21 20
 
22 21
 /**
23 22
  * @author Grzegorz Sadowski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/SearchBundle/Finder/ElasticsearchFinder.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,25 +14,25 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/SearchBundle/Finder/OrmFinder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.