Completed
Push — scrutinizer/config ( 14e91e...f0c144 )
by Kamil
43:19
created
src/Sylius/Bundle/RbacBundle/spec/Doctrine/ORM/RoleRepositorySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use Doctrine\ORM\AbstractQuery;
15 15
 use Doctrine\ORM\EntityManager;
16 16
 use Doctrine\ORM\Mapping\ClassMetadata;
17
-use Doctrine\ORM\Query\Expr;
18 17
 use Doctrine\ORM\QueryBuilder;
18
+use Doctrine\ORM\Query\Expr;
19 19
 use PhpSpec\ObjectBehavior;
20 20
 use Prophecy\Argument;
21 21
 use Sylius\Component\Rbac\Model\RoleInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Behat/FormContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ResourceBundle\Behat;
13 13
 
14
+use Behat\MinkExtension\Context\RawMinkContext;
14 15
 use Behat\Mink\Element\Element;
15 16
 use Behat\Mink\Element\NodeElement;
16 17
 use Behat\Mink\Exception\ElementNotFoundException;
17 18
 use Behat\Mink\Selector\Xpath\Escaper;
18
-use Behat\MinkExtension\Context\RawMinkContext;
19 19
 
20 20
 /**
21 21
  * @author Arnaud Langlade <[email protected]>
Please login to merge, or discard this patch.
Bundle/ResourceBundle/DependencyInjection/SyliusResourceExtension.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,14 +13,12 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Driver\DriverProvider;
15 15
 use Sylius\Component\Resource\Metadata\Metadata;
16
-use Symfony\Component\Config\Definition\Processor;
17 16
 use Symfony\Component\Config\FileLocator;
17
+use Symfony\Component\Config\Loader\LoaderInterface;
18 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19
+use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
19 20
 use Symfony\Component\DependencyInjection\Extension\Extension;
20
-use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
21 21
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
22
-use Symfony\Component\Config\Loader\LoaderInterface;
23
-use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
24 22
 
25 23
 /**
26 24
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
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.
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.
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.