Passed
Pull Request — master (#5)
by Dominique
38:29
created
Zed/Discount/Business/DecisionRule/DayOfTheWeekDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $dateTime = new DateTime();
34 34
 
35 35
         $comparatorMock = $this->createComparatorMock();
36
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $calendarWeek) {
36
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $calendarWeek) {
37 37
             return $clauseTransfer->getValue() === $calendarWeek;
38 38
         });
39 39
 
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/Collector/_support/Helper/CollectorDataHelper.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,8 @@
 block discarded – undo
115 115
                 $localeTransfer,
116 116
                 $lastTouchedAt
117 117
             )->withColumn(SpyTouchTableMap::COL_ID_TOUCH, CollectorConfig::COLLECTOR_TOUCH_ID)
118
-         ->withColumn(SpyTouchTableMap::COL_ITEM_ID, CollectorConfig::COLLECTOR_RESOURCE_ID)
119
-         ->setFormatter(new PropelArraySetFormatter());
118
+            ->withColumn(SpyTouchTableMap::COL_ITEM_ID, CollectorConfig::COLLECTOR_RESOURCE_ID)
119
+            ->setFormatter(new PropelArraySetFormatter());
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             WriterInterface::class,
50 50
             [],
51 51
             [
52
-                'write' => function ($data) use (&$collectedData) {
52
+                'write' => function($data) use (&$collectedData) {
53 53
                     $collectedData[] = $data;
54 54
 
55 55
                     return $data;
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/DependencyTree/Finder/FileFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function find(string $module): array
34 34
     {
35 35
         $directories = $this->pathBuilder->buildPaths($module);
36
-        $directories = array_filter($directories, function (string $directory) {
36
+        $directories = array_filter($directories, function(string $directory) {
37 37
             return glob($directory);
38 38
         });
39 39
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/DevelopmentFacadeInterface.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,6 @@
 block discarded – undo
110 110
     /**
111 111
      * Specification:
112 112
      * - Calculates the stability of each module.
113
-
114 113
      * @api
115 114
      *
116 115
      * @return array
Please login to merge, or discard this patch.
Spryker/Zed/Development/Communication/Controller/DependencyController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             return $this->redirectResponse('/development/dependency');
138 138
         }
139 139
 
140
-        $callback = function () use ($request) {
140
+        $callback = function() use ($request) {
141 141
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
142 142
 
143 143
             if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      */
158 158
     public function simpleAction(Request $request)
159 159
     {
160
-        $callback = function () use ($request) {
160
+        $callback = function() use ($request) {
161 161
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
162 162
             $showEngineBundle = $request->query->getBoolean('show-engine-bundle', true);
163 163
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function externalDependencyTreeAction(Request $request)
197 197
     {
198
-        $callback = function () use ($request) {
198
+        $callback = function() use ($request) {
199 199
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
200 200
 
201 201
             if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) {
Please login to merge, or discard this patch.
Zed/DiscountPromotion/Communication/Form/DiscountPromotionFormType.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
             DiscountPromotionTransfer::ABSTRACT_SKU,
41 41
             TextType::class,
42 42
             [
43
-                 'label' => 'Abstract product sku',
44
-                 'constraints' => [
45
-                     new NotBlank(['groups' => DiscountPromotionConfig::DISCOUNT_COLLECTOR_STRATEGY]),
46
-                 ],
47
-             ]
43
+                    'label' => 'Abstract product sku',
44
+                    'constraints' => [
45
+                        new NotBlank(['groups' => DiscountPromotionConfig::DISCOUNT_COLLECTOR_STRATEGY]),
46
+                    ],
47
+                ]
48 48
         );
49 49
 
50
-         return $this;
50
+            return $this;
51 51
     }
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
ProductBundle/Business/ProductBundle/Checkout/ProductBundleOrderSaver.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
     public function saveOrderBundleItems(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer)
51 51
     {
52
-        $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) {
52
+        $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) {
53 53
             $this->saveOrderBundleItemsTransaction($quoteTransfer, $saveOrderTransfer);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductBundle/Business/ProductBundleFacade.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function postSaveCartUpdateBundles(QuoteTransfer $quoteTransfer)
81 81
     {
82
-         return $this->getFactory()
83
-             ->createProductBundlePostSaveUpdate()
84
-             ->updateBundles($quoteTransfer);
82
+            return $this->getFactory()
83
+                ->createProductBundlePostSaveUpdate()
84
+                ->updateBundles($quoteTransfer);
85 85
     }
86 86
 
87 87
     /**
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         QuoteTransfer $quoteTransfer,
115 115
         CheckoutResponseTransfer $checkoutResponseTransfer
116 116
     ) {
117
-         return $this->getFactory()
117
+            return $this->getFactory()
118 118
             ->createProductBundleCheckoutPreCheck()
119 119
             ->checkCheckoutAvailability($quoteTransfer, $checkoutResponseTransfer);
120 120
     }
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
      */
131 131
     public function calculateBundlePrice(QuoteTransfer $quoteTransfer)
132 132
     {
133
-         return $this->getFactory()
134
-             ->createProductBundlePriceCalculator()
135
-             ->calculate($quoteTransfer);
133
+            return $this->getFactory()
134
+                ->createProductBundlePriceCalculator()
135
+                ->calculate($quoteTransfer);
136 136
     }
137 137
 
138 138
     /**
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     public function saveSalesOrderBundleItems(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponse)
183 183
     {
184
-         $this->getFactory()
184
+            $this->getFactory()
185 185
             ->createProductBundleSalesOrderSaver()
186 186
             ->saveSaleOrderBundleItems($quoteTransfer, $checkoutResponse);
187 187
     }
Please login to merge, or discard this patch.
Communication/Plugin/Checkout/ProductBundleOrderSaverPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function saveOrder(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer)
32 32
     {
33
-         $this->getFacade()->saveOrderBundleItems($quoteTransfer, $saveOrderTransfer);
33
+            $this->getFacade()->saveOrderBundleItems($quoteTransfer, $saveOrderTransfer);
34 34
     }
35 35
 }
Please login to merge, or discard this patch.