Completed
Branch master (429264)
by Kamil
37:02
created
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.
src/Sylius/Bundle/ResourceBundle/spec/Controller/ParametersParserSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\ResourceBundle\Controller;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Bundle\ResourceBundle\ExpressionLanguage\ExpressionLanguage;
16 15
 use Sylius\Bundle\ResourceBundle\Controller\ParametersParserInterface;
16
+use Sylius\Bundle\ResourceBundle\ExpressionLanguage\ExpressionLanguage;
17 17
 use Symfony\Component\HttpFoundation\Request;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Controller/ResourcesResolverSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Pagerfanta\Pagerfanta;
15 15
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
17 16
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
18 17
 use Sylius\Bundle\ResourceBundle\Controller\ResourcesResolver;
19 18
 use Sylius\Bundle\ResourceBundle\Controller\ResourcesResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Controller/StateMachineSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\ResourceBundle\Controller;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use SM\Factory\FactoryInterface;
17 16
 use SM\StateMachine\StateMachineInterface;
18 17
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
Please login to merge, or discard this patch.
spec/Doctrine/ODM/PHPCR/EventListener/DefaultParentListenerSpec.php 1 patch
Unused Use Statements   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,16 +11,14 @@
 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;
17
+use PHPCR\SessionInterface;
14 18
 use PhpSpec\ObjectBehavior;
15 19
 use Prophecy\Argument;
16 20
 use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener\DefaultParentListener;
17
-use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
18 21
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
19
-use Sylius\Component\Resource\Metadata\Registry;
20
-use Sylius\Component\Resource\Metadata\Metadata;
21
-use Doctrine\ODM\PHPCR\DocumentManagerInterface;
22
-use PHPCR\NodeInterface;
23
-use PHPCR\SessionInterface;
24 22
 
25 23
 /**
26 24
  * @author Daniel Leech <[email protected]>
Please login to merge, or discard this patch.
spec/Doctrine/ODM/PHPCR/EventListener/NameFilterListenerSpec.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,13 +11,11 @@
 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;
14 16
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 17
 use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener\NameFilterListener;
17
-use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
18 18
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
19
-use Doctrine\ODM\PHPCR\DocumentManagerInterface;
20
-use PHPCR\NodeInterface;
21 19
 
22 20
 /**
23 21
  * @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.
spec/Form/EventSubscriber/ResourceTranslationsSubscriberSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Collections\Collection;
15 15
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
17 16
 use Sylius\Component\Resource\Model\TranslatableInterface;
18 17
 use Sylius\Component\Resource\Model\TranslationInterface;
19 18
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Please login to merge, or discard this patch.
Bundle/ResourceBundle/spec/Form/Type/ResourceToHiddenIdentifierTypeSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Bundle\ResourceBundle\Form\Type;
13 13
 
14
-use Doctrine\Common\Persistence\ManagerRegistry;
15 14
 use PhpSpec\ObjectBehavior;
16 15
 use Prophecy\Argument;
17 16
 use Sylius\Bundle\ResourceBundle\Form\DataTransformer\ResourceToIdentifierTransformer;
Please login to merge, or discard this patch.