Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
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', '#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/CoreBundle/Checkout/CheckoutResolver.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
123 123
     }
124 124
 
125 125
         /**
126
-     * @param Request $request
127
-     *
128
-     * @return string
129
-     */
126
+         * @param Request $request
127
+         *
128
+         * @return string
129
+         */
130 130
     private function getRequestedTransition(Request $request)
131 131
     {
132 132
         return $request->attributes->get('_sylius')['state_machine']['transition'];
Please login to merge, or discard this patch.
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                     'translation' => [
42 42
                         'classes' => [
43 43
                             'model' => BookTranslation::class,
44
-                         ],
44
+                            ],
45 45
                     ],
46 46
                 ],
47 47
             ],
@@ -75,13 +75,13 @@  discard block
 block discarded – undo
75 75
     public function it_registers_default_translation_parameters()
76 76
     {
77 77
         // TODO: Move ResourceGrid integration to a dedicated compiler pass
78
-         $this->setParameter('kernel.bundles', []);
78
+            $this->setParameter('kernel.bundles', []);
79 79
 
80 80
         $this->load([
81
-             'translation' => [
82
-                 'locale_provider' => 'test.custom_locale_provider'
83
-             ]
84
-         ]);
81
+                'translation' => [
82
+                    'locale_provider' => 'test.custom_locale_provider'
83
+                ]
84
+            ]);
85 85
 
86 86
         $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
87 87
     }
Please login to merge, or discard this patch.