Completed
Branch master (429264)
by Kamil
37:02
created
src/Sylius/Behat/Context/Ui/Admin/ManagingProductAttributesContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      */
152 152
     public function theTypeFieldShouldBeDisabled()
153 153
     {
154
-       $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]);
154
+        $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]);
155 155
 
156 156
         Assert::true(
157 157
             $currentPage->isTypeDisabled(),
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/CartContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $this->summaryPage->open();
83 83
 
84 84
         Assert::true(
85
-             $this->summaryPage->isEmpty(),
85
+                $this->summaryPage->isEmpty(),
86 86
             'There should appear information about empty cart, but it does not.'
87 87
         );
88 88
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Type/LegacyProductType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 'label' => false,
49 49
                 'button_add_label' => 'sylius.form.menu.add_menu_node',
50 50
                 'cascade_validation' => true,
51
-             ])
51
+                ])
52 52
             ->add('uri', null, [
53 53
                 'required' => false,
54 54
                 'label' => 'sylius.form.menu.uri',
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,5 +64,5 @@
 block discarded – undo
64 64
      *
65 65
      * @return bool
66 66
      */
67
-     public function hasAttributeWithValue($attributeName, $AttributeValue);
67
+        public function hasAttributeWithValue($attributeName, $AttributeValue);
68 68
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     public function hasItemNamed($name)
134 134
     {
135
-       return $this->hasItemWith($name, '.sylius-product-name');
135
+        return $this->hasItemWith($name, '.sylius-product-name');
136 136
     }
137 137
 
138 138
     /**
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function hasItemWithVariantNamed($variantName)
142 142
     {
143
-       return $this->hasItemWith($variantName, '.sylius-product-variant-name');
143
+        return $this->hasItemWith($variantName, '.sylius-product-variant-name');
144 144
     }
145 145
 
146 146
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/Form/Type/CreditCardType.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -30,24 +30,24 @@
 block discarded – undo
30 30
             ->add('type', 'choice', [
31 31
                 'label' => 'sylius.form.credit_card.type',
32 32
                 'expanded' => true,
33
-              ])
34
-              ->add('cardholderName', 'text', [
33
+                ])
34
+                ->add('cardholderName', 'text', [
35 35
                 'label' => 'sylius.form.credit_card.cardholder_name',
36
-              ])
37
-              ->add('number', 'text', [
38
-                  'label' => 'sylius.form.credit_card.number',
39
-              ])
40
-              ->add('securityCode', 'text', [
41
-                  'label' => 'sylius.form.credit_card.security_code',
42
-              ])
43
-              ->add('expiryMonth', 'choice', [
44
-                  'label' => 'sylius.form.credit_card.expiry_month',
45
-                  'choices' => $this->getMonthChoices(),
46
-              ])
47
-              ->add('expiryYear', 'choice', [
48
-                  'label' => 'sylius.form.credit_card.expiry_year',
49
-                  'choices' => $this->getViableYears(),
50
-              ])
36
+                ])
37
+                ->add('number', 'text', [
38
+                    'label' => 'sylius.form.credit_card.number',
39
+                ])
40
+                ->add('securityCode', 'text', [
41
+                    'label' => 'sylius.form.credit_card.security_code',
42
+                ])
43
+                ->add('expiryMonth', 'choice', [
44
+                    'label' => 'sylius.form.credit_card.expiry_month',
45
+                    'choices' => $this->getMonthChoices(),
46
+                ])
47
+                ->add('expiryYear', 'choice', [
48
+                    'label' => 'sylius.form.credit_card.expiry_year',
49
+                    'choices' => $this->getViableYears(),
50
+                ])
51 51
         ;
52 52
     }
53 53
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/PaymentStepType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 class PaymentStepType extends AbstractType
22 22
 {
23 23
     /**
24
-    * @var string[]
25
-    */
24
+     * @var string[]
25
+     */
26 26
     private $validationGroups;
27 27
 
28 28
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Tests/Fixture/CurrencyFixtureTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function currencies_can_be_set()
38 38
     {
39
-       $this->assertConfigurationIsValid([['currencies' => ['EUR' => true, 'USD' => false, 'PLN' => true]]], 'currencies');
39
+        $this->assertConfigurationIsValid([['currencies' => ['EUR' => true, 'USD' => false, 'PLN' => true]]], 'currencies');
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/Twig/InventoryExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
     public function getFunctions()
45 45
     {
46 46
         return [
47
-             new \Twig_SimpleFunction('sylius_inventory_is_available', [$this, 'isStockAvailable']),
48
-             new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this, 'isStockSufficient']),
47
+                new \Twig_SimpleFunction('sylius_inventory_is_available', [$this, 'isStockAvailable']),
48
+                new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this, 'isStockSufficient']),
49 49
         ];
50 50
     }
51 51
 
Please login to merge, or discard this patch.