Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
Component/Core/spec/Translation/TranslatableEntityLocaleAssignerSpec.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@  discard block
 block discarded – undo
62 62
     function it_filters_data_containing_empty_strings(
63 63
         DataSourceInterface $dataSource,
64 64
         ExpressionBuilderInterface $expressionBuilder
65
-    )
66
-    {
65
+    ) {
67 66
         $dataSource->getExpressionBuilder()->willReturn($expressionBuilder);
68 67
 
69 68
         $expressionBuilder->isNull('firstName')->willReturn('EXPR');
@@ -87,8 +86,7 @@  discard block
 block discarded – undo
87 86
     function it_filters_data_containing_a_string(
88 87
         DataSourceInterface $dataSource,
89 88
         ExpressionBuilderInterface $expressionBuilder
90
-    )
91
-    {
89
+    ) {
92 90
         $dataSource->getExpressionBuilder()->willReturn($expressionBuilder);
93 91
 
94 92
         $expressionBuilder->like('firstName', '%John%')->willReturn('EXPR');
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingCustomersContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -660,7 +660,7 @@
 block discarded – undo
660 660
         Assert::true(
661 661
             $this->createPage->isUserFormHidden(),
662 662
             'There should not be password field, but it is.'
663
-         );
663
+            );
664 664
     }
665 665
 
666 666
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/Order/ShowPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
         return
198 198
             (stripos($elementText, $customerName) !== false) &&
199 199
             (stripos($elementText, $street) !== false) &&
200
-            (stripos($elementText, $city.', '.$postcode) !== false) &&
200
+            (stripos($elementText, $city . ', ' . $postcode) !== false) &&
201 201
             (stripos($elementText, $countryName) !== false)
202 202
         ;
203 203
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPage.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -100,25 +100,25 @@
 block discarded – undo
100 100
     /**
101 101
      * {@inheritdoc}
102 102
      */
103
-     public function isNextStepButtonUnavailable()
104
-     {
105
-         return $this->getElement('next_step')->hasClass('disabled');
106
-     }
103
+        public function isNextStepButtonUnavailable()
104
+        {
105
+            return $this->getElement('next_step')->hasClass('disabled');
106
+        }
107 107
 
108 108
     /**
109 109
      * {@inheritdoc}
110 110
      */
111
-     public function getPaymentMethods()
112
-     {
113
-         $inputs = $this->getSession()->getPage()->findAll('css', '#sylius-payment-methods .item .content label');
111
+        public function getPaymentMethods()
112
+        {
113
+            $inputs = $this->getSession()->getPage()->findAll('css', '#sylius-payment-methods .item .content label');
114 114
 
115
-         $paymentMethods = [];
116
-         foreach ($inputs as $input) {
117
-             $paymentMethods[] = trim($input->getText());
118
-         }
115
+            $paymentMethods = [];
116
+            foreach ($inputs as $input) {
117
+                $paymentMethods[] = trim($input->getText());
118
+            }
119 119
 
120
-         return $paymentMethods;
121
-     }
120
+            return $paymentMethods;
121
+        }
122 122
 
123 123
     /**
124 124
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/test/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 use Composer\Autoload\ClassLoader;
13 13
 use Doctrine\Common\Annotations\AnnotationRegistry;
14 14
 
15
-$loader = require __DIR__.'/../../vendor/autoload.php';
15
+$loader = require __DIR__ . '/../../vendor/autoload.php';
16 16
 
17
-require __DIR__.'/AppKernel.php';
17
+require __DIR__ . '/AppKernel.php';
18 18
 
19 19
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
20 20
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/test/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 use Composer\Autoload\ClassLoader;
13 13
 use Doctrine\Common\Annotations\AnnotationRegistry;
14 14
 
15
-$loader = require __DIR__.'/../../vendor/autoload.php';
15
+$loader = require __DIR__ . '/../../vendor/autoload.php';
16 16
 
17
-require __DIR__.'/AppKernel.php';
17
+require __DIR__ . '/AppKernel.php';
18 18
 
19 19
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
20 20
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Extension/CartTypeExtension.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) {
49 49
             return function (FormInterface $form) use ($validationGroups) {
50
-                if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent
50
+                if ((bool) $form->get('promotionCoupon')->getNormData()) {
51
+// Validate the coupon if it was sent
51 52
                     $validationGroups[] = 'sylius_promotion_coupon';
52 53
                 }
53 54
 
Please login to merge, or discard this patch.