Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
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/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
16 17
 use Sylius\Component\Shipping\Model\ShipmentInterface;
17
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
18 18
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/spec/Resolver/TaxRateResolverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Resource\Repository\RepositoryInterface;
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Translation/ThemeAwareTranslatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
28 28
  */
29 29
 class ThemeAwareTranslatorSpec extends ObjectBehavior
30 30
 {
31
-    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext) {
31
+    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext)
32
+    {
32 33
         $translator->implement(TranslatorBagInterface::class);
33 34
 
34 35
         $this->beConstructedWith($translator, $themeContext);
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableFixtureLoaderSpec.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\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableSuiteLoaderSpec.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\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/SuiteLoaderSpec.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\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteFactorySpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,8 @@
 block discarded – undo
87 87
      *
88 88
      * @return \Generator
89 89
      */
90
-    private function createGenerator(Collaborator ...$collaborators) {
90
+    private function createGenerator(Collaborator ...$collaborators)
91
+    {
91 92
         foreach ($collaborators as $collaborator) {
92 93
             yield $collaborator->getWrappedObject() => [];
93 94
         }
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,8 @@
 block discarded – undo
87 87
      *
88 88
      * @return \Generator
89 89
      */
90
-    private function createGenerator(Collaborator ...$collaborators) {
90
+    private function createGenerator(Collaborator ...$collaborators)
91
+    {
91 92
         foreach ($collaborators as $collaborator) {
92 93
             yield $collaborator->getWrappedObject() => [];
93 94
         }
Please login to merge, or discard this patch.