Completed
Push — symfony3-travis-logs ( 5d92be )
by Kamil
36:50 queued 19:53
created
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', '#payment_methods .item .content label');
111
+        public function getPaymentMethods()
112
+        {
113
+            $inputs = $this->getSession()->getPage()->findAll('css', '#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/PaymentBundle/Form/Type/CreditCardType.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -30,26 +30,26 @@
 block discarded – undo
30 30
             ->add('type', ChoiceType::class, [
31 31
                 'label' => 'sylius.form.credit_card.type',
32 32
                 'expanded' => true,
33
-              ])
34
-              ->add('cardholderName', TextType::class, [
33
+                ])
34
+                ->add('cardholderName', TextType::class, [
35 35
                 'label' => 'sylius.form.credit_card.cardholder_name',
36
-              ])
37
-              ->add('number', TextType::class, [
38
-                  'label' => 'sylius.form.credit_card.number',
39
-              ])
40
-              ->add('securityCode', TextType::class, [
41
-                  'label' => 'sylius.form.credit_card.security_code',
42
-              ])
43
-              ->add('expiryMonth', ChoiceType::class, [
44
-                  'choices' => $this->getMonthChoices(),
45
-                  'choice_translation_domain' => false,
46
-                  'label' => 'sylius.form.credit_card.expiry_month',
47
-              ])
48
-              ->add('expiryYear', ChoiceType::class, [
49
-                  'choices' => $this->getViableYears(),
50
-                  'choice_translation_domain' => false,
51
-                  'label' => 'sylius.form.credit_card.expiry_year',
52
-              ])
36
+                ])
37
+                ->add('number', TextType::class, [
38
+                    'label' => 'sylius.form.credit_card.number',
39
+                ])
40
+                ->add('securityCode', TextType::class, [
41
+                    'label' => 'sylius.form.credit_card.security_code',
42
+                ])
43
+                ->add('expiryMonth', ChoiceType::class, [
44
+                    'choices' => $this->getMonthChoices(),
45
+                    'choice_translation_domain' => false,
46
+                    'label' => 'sylius.form.credit_card.expiry_month',
47
+                ])
48
+                ->add('expiryYear', ChoiceType::class, [
49
+                    'choices' => $this->getViableYears(),
50
+                    'choice_translation_domain' => false,
51
+                    'label' => 'sylius.form.credit_card.expiry_year',
52
+                ])
53 53
         ;
54 54
     }
55 55
 
Please login to merge, or discard this patch.