Passed
Push — master ( 7e7d16...d2790e )
by mark
56s
created
Bundles/Testify/src/Spryker/Shared/Testify/AbstractDataBuilder.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,12 +155,14 @@
 block discarded – undo
155 155
         foreach ($this->nestedBuilders as $builderInfo) {
156 156
             list($name, $dependencyBuilder, $randomize) = $builderInfo;
157 157
 
158
-            if (!$randomize) { // add currently generated values
158
+            if (!$randomize) {
159
+// add currently generated values
159 160
                 $dependencyBuilder->seed($this->seedData);
160 161
             }
161 162
             $nestedTransfer = $dependencyBuilder->build();
162 163
 
163
-            if (!$randomize) { // reuse generated values from nested objects
164
+            if (!$randomize) {
165
+// reuse generated values from nested objects
164 166
                 $this->seedData = array_merge($this->seedData, $dependencyBuilder->getSeedData());
165 167
             }
166 168
 
Please login to merge, or discard this patch.
Bundles/Event/src/Spryker/Zed/Event/Business/Logger/EventLogger.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public function log($message)
47 47
     {
48 48
         if (!$this->eventConfig->isLoggerActivated()) {
49
-             return;
49
+                return;
50 50
         }
51 51
 
52 52
         $this->getLogger($this->loggerConfig)
Please login to merge, or discard this patch.
Bundles/Event/src/Spryker/Zed/Event/EventDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,19 +31,19 @@
 block discarded – undo
31 31
      */
32 32
     public function provideBusinessLayerDependencies(Container $container)
33 33
     {
34
-        $container[static::EVENT_LISTENERS] = function (Container $container) {
34
+        $container[static::EVENT_LISTENERS] = function(Container $container) {
35 35
             return $this->getEventListenerCollection();
36 36
         };
37 37
 
38
-        $container[static::EVENT_SUBSCRIBERS] = function (Container $container) {
38
+        $container[static::EVENT_SUBSCRIBERS] = function(Container $container) {
39 39
             return $this->getEventSubscriberCollection();
40 40
         };
41 41
 
42
-        $container[static::CLIENT_QUEUE] = function (Container $container) {
42
+        $container[static::CLIENT_QUEUE] = function(Container $container) {
43 43
             return new EventToQueueBridge($container->getLocator()->queue()->client());
44 44
         };
45 45
 
46
-        $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) {
46
+        $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) {
47 47
             return new EventToUtilEncoding($container->getLocator()->utilEncoding()->service());
48 48
         };
49 49
 
Please login to merge, or discard this patch.
QueryContainer/ProductRelationCollectorCollectorToProductImageBridge.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function queryImageSetByProductAbstractId($idProductAbstract)
32 32
     {
33
-         return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract);
33
+            return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract);
34 34
     }
35 35
 
36 36
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductRelation/Business/Relation/ProductRelationWriter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
         $productRelationTypeTransfer = $productRelationTransfer->getProductRelationType();
66 66
 
67
-        return $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationTypeTransfer) {
67
+        return $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationTypeTransfer) {
68 68
             return $this->executeSaveRelationTransaction($productRelationTransfer, $productRelationTypeTransfer);
69 69
         });
70 70
     }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             );
117 117
         }
118 118
 
119
-        $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationEntity) {
119
+        $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationEntity) {
120 120
             $this->executeUpdateRelationTransaction($productRelationTransfer, $productRelationEntity);
121 121
         });
122 122
     }
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             );
172 172
         }
173 173
 
174
-        $deleted = $this->handleDatabaseTransaction(function () use ($productRelationEntity) {
174
+        $deleted = $this->handleDatabaseTransaction(function() use ($productRelationEntity) {
175 175
             return $this->executeDeleteProductRelationTransaction($productRelationEntity);
176 176
         });
177 177
 
Please login to merge, or discard this patch.
Bundles/Development/src/Spryker/Zed/Development/DevelopmentConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-     * @return array
149
+     * @return string[]
150 150
      */
151 151
     public function getIgnorableDependencies()
152 152
     {
Please login to merge, or discard this patch.
src/Spryker/Client/ProductRelation/ProductRelationClient.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
      */
28 28
     public function getProductRelationsByIdProductAbstract($idProductAbstract)
29 29
     {
30
-         $localeName = $this->getFactory()
31
-             ->getLocaleClient()
32
-             ->getCurrentLocale();
30
+            $localeName = $this->getFactory()
31
+                ->getLocaleClient()
32
+                ->getCurrentLocale();
33 33
 
34
-         return $this->getFactory()
35
-             ->createProductRelationStorage($localeName)
36
-             ->getAll($idProductAbstract);
34
+            return $this->getFactory()
35
+                ->createProductRelationStorage($localeName)
36
+                ->getAll($idProductAbstract);
37 37
     }
38 38
 
39 39
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/Api/Communication/Plugin/ApiControllerListenerPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         $request = $event->getRequest();
44 44
 
45
-        $apiController = function () use ($controller, $action, $request) {
45
+        $apiController = function() use ($controller, $action, $request) {
46 46
             $requestTransfer = $this->getRequestTransfer($request);
47 47
             $this->logRequest($requestTransfer);
48 48
 
Please login to merge, or discard this patch.
Oms/src/Spryker/Zed/Oms/Business/OrderStateMachine/OrderStateMachine.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -802,7 +802,7 @@
 block discarded – undo
802 802
 
803 803
     /**
804 804
      * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem
805
-     * @param array $processes
805
+     * @param ProcessInterface[] $processes
806 806
      * @param array $sourceStateBuffer
807 807
      * @param \Spryker\Zed\Oms\Business\OrderStateMachine\TimeoutInterface $timeoutModel
808 808
      * @param \Spryker\Zed\Oms\Business\Util\TransitionLogInterface $log
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -785,7 +785,7 @@
 block discarded – undo
785 785
         $timeoutModel = clone $this->timeout;
786 786
 
787 787
         foreach ($orderItems as $orderItem) {
788
-            $this->handleDatabaseTransaction(function () use ($orderItem, $processes, $sourceStateBuffer, $timeoutModel, $log, $currentTime) {
788
+            $this->handleDatabaseTransaction(function() use ($orderItem, $processes, $sourceStateBuffer, $timeoutModel, $log, $currentTime) {
789 789
                 $this->executeSaveOrderItemTransaction(
790 790
                     $orderItem,
791 791
                     $processes,
Please login to merge, or discard this patch.