Failed Conditions
Push — master ( e1d726...46c63a )
by mark
50:35
created
Bundles/DummyPayment/src/Spryker/Yves/DummyPayment/Form/AbstractSubForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     protected function createBirthdayConstraint()
74 74
     {
75 75
         return new Callback([
76
-            'callback' => function ($date, ExecutionContextInterface $context) {
76
+            'callback' => function($date, ExecutionContextInterface $context) {
77 77
                 if (strtotime($date) > strtotime(self::MIN_BIRTHDAY_DATE_STRING)) {
78 78
                     $context->addViolation('checkout.step.payment.must_be_older_than_18_years');
79 79
                 }
Please login to merge, or discard this patch.
CmsProductSearchContentWidgetConfigurationProvider.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,6 @@
 block discarded – undo
43 43
             You should use `AND` in capital letters, otherwise ElasticSearch will mark it as part of searching text.
44 44
             To use different template, add it as second parameter:
45 45
             {{ product_search('is-active:false AND locale:de_DE', 'default') }}.
46
-EOT;
46
+eot;
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
Zed/ProductValidity/Business/ProductConcrete/ProductConcreteSwitcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             return;
48 48
         }
49 49
 
50
-        $this->handleDatabaseTransaction(function () {
50
+        $this->handleDatabaseTransaction(function() {
51 51
             $productsBecomingActive = $this->findProductsBecomingActive();
52 52
             $productsBecomingInactive = $this->findProductsBecomingInactive();
53 53
 
Please login to merge, or discard this patch.
Spryker/Zed/Discount/Business/Persistence/DiscountStoreRelationMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     protected function getIdStores(ArrayObject $storeTransferCollection)
63 63
     {
64
-        return array_map(function (StoreTransfer $store) {
64
+        return array_map(function(StoreTransfer $store) {
65 65
             return $store->getIdStore();
66 66
         }, $storeTransferCollection->getArrayCopy());
67 67
     }
Please login to merge, or discard this patch.
Spryker/Zed/CmsBlockGui/Communication/Controller/ViewBlockController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@
 block discarded – undo
287 287
      */
288 288
     protected function getStoreNames(ArrayObject $stores)
289 289
     {
290
-        return array_map(function (StoreTransfer $storeTransfer) {
290
+        return array_map(function(StoreTransfer $storeTransfer) {
291 291
             return $storeTransfer->getName();
292 292
         }, $stores->getArrayCopy());
293 293
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/GiftCard/Business/Payment/SalesOrderPaymentSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         $giftCardPayments = $this->getGiftCardPayments($quoteTransfer);
51 51
 
52
-        $this->handleDatabaseTransaction(function () use ($giftCardPayments, $checkoutResponse) {
52
+        $this->handleDatabaseTransaction(function() use ($giftCardPayments, $checkoutResponse) {
53 53
             $this->runGiftCardPaymentSavers($giftCardPayments, $checkoutResponse);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.
GiftCard/src/Spryker/Zed/GiftCard/Business/GiftCard/GiftCardReplacer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     {
54 54
         $giftCardPayments = $this->giftCardReader->getGiftCardPaymentsForOrder($idSalesOrder);
55 55
 
56
-        $this->handleDatabaseTransaction(function () use ($giftCardPayments) {
56
+        $this->handleDatabaseTransaction(function() use ($giftCardPayments) {
57 57
             $this->replaceGiftCardsTransaction($giftCardPayments);
58 58
         });
59 59
     }
Please login to merge, or discard this patch.
Bundles/Checkout/src/Spryker/Yves/Checkout/Form/Steps/PaymentForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
     public function configureOptions(OptionsResolver $resolver)
182 182
     {
183 183
         $resolver->setDefaults([
184
-            'validation_groups' => function (FormInterface $form) {
184
+            'validation_groups' => function(FormInterface $form) {
185 185
                 return [
186 186
                     Constraint::DEFAULT_GROUP,
187 187
                     $form->get(static::PAYMENT_SELECTION)->getData(),
Please login to merge, or discard this patch.
Bundles/Stock/src/Spryker/Zed/Stock/Persistence/StockQueryContainer.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                 ->filterBySku($sku)
113 113
             ->endUse()
114 114
             ->useStockQuery()
115
-               ->filterByName($type)
115
+                ->filterByName($type)
116 116
             ->endUse();
117 117
 
118 118
         return $query;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $query = $this->queryAllStockProducts();
132 132
         $query
133 133
             ->useSpyProductQuery()
134
-                 ->filterBySku($sku)
134
+                    ->filterBySku($sku)
135 135
             ->endUse()
136 136
             ->useStockQuery()
137 137
                 ->filterByName($types, Criteria::IN)
@@ -248,12 +248,12 @@  discard block
 block discarded – undo
248 248
     public function queryStockByIdProductAndTypes($idProduct, array $types)
249 249
     {
250 250
         return $this->queryStockByProducts($idProduct)
251
-              ->useStockQuery()
252
-                  ->withColumn(SpyStockTableMap::COL_NAME, 'stockType')
253
-                  ->filterByName($types, Criteria::IN)
254
-              ->endUse()
255
-              ->useSpyProductQuery()
256
-                  ->withColumn(SpyProductTableMap::COL_SKU, 'sku')
257
-              ->endUse();
251
+                ->useStockQuery()
252
+                    ->withColumn(SpyStockTableMap::COL_NAME, 'stockType')
253
+                    ->filterByName($types, Criteria::IN)
254
+                ->endUse()
255
+                ->useSpyProductQuery()
256
+                    ->withColumn(SpyProductTableMap::COL_SKU, 'sku')
257
+                ->endUse();
258 258
     }
259 259
 }
Please login to merge, or discard this patch.