Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Zed/ProductOptionCartConnector/Business/Model/ProductOptionCartQuantity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         foreach ($quoteTransfer->getItems() as $itemTransfer) {
22 22
             $itemQuantity = $itemTransfer->getQuantity();
23 23
             foreach ($itemTransfer->getProductOptions() as $productOptionTransfer) {
24
-                 $productOptionTransfer->setQuantity($itemQuantity);
24
+                    $productOptionTransfer->setQuantity($itemQuantity);
25 25
             }
26 26
         }
27 27
 
Please login to merge, or discard this patch.
SprykerTest/Zed/CmsContentWidget/Business/CmsContentWidgetFacadeTest.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,11 +131,11 @@  discard block
 block discarded – undo
131 131
     {
132 132
         return [
133 133
             [
134
-               'getFunctionName' => 'functionName',
135
-               'getAvailableTemplates' => [
136
-                   'identifier' => '@module/path/to/template.twig',
137
-               ],
138
-               'getUsageInformation' => 'how to..',
134
+                'getFunctionName' => 'functionName',
135
+                'getAvailableTemplates' => [
136
+                    'identifier' => '@module/path/to/template.twig',
137
+                ],
138
+                'getUsageInformation' => 'how to..',
139 139
             ],
140 140
             [
141 141
                 'getFunctionName' => 'functionName1',
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $container = $this->createZedContainer();
186 186
         $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188
-              'function' => $cmsContentWidgetParameterMapperPluginMock,
188
+                'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,13 +182,13 @@
 block discarded – undo
182 182
         $cmsBusinessFactory = $this->createBusinessFactory();
183 183
 
184 184
         $container = $this->createZedContainer();
185
-        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
185
+        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function(Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
186 186
             return [
187 187
               'function' => $cmsContentWidgetParameterMapperPluginMock,
188 188
             ];
189 189
         };
190 190
 
191
-        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function (Container $container) {
191
+        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function(Container $container) {
192 192
             return $this->createGlossaryFacadeMock();
193 193
         };
194 194
 
Please login to merge, or discard this patch.
Zed/Session/Communication/Plugin/ServiceProvider/SessionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     protected function setSessionStorageHandler(Application $application)
70 70
     {
71
-        $application['session.storage.handler'] = function () {
71
+        $application['session.storage.handler'] = function() {
72 72
             return $this->getFactory()->createSessionStorage()->getAndRegisterHandler();
73 73
         };
74 74
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/Composer/ComposerJsonUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
             'config',
170 170
         ];
171 171
 
172
-        $callable = function ($a, $b) use ($map) {
172
+        $callable = function($a, $b) use ($map) {
173 173
             $keyA = in_array($a, $map) ? array_search($a, $map) : 999;
174 174
             $keyB = in_array($b, $map) ? array_search($b, $map) : 999;
175 175
 
Please login to merge, or discard this patch.
Business/Model/Elasticsearch/Definition/JsonIndexDefinitionLoaderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -366,7 +366,7 @@
 block discarded – undo
366 366
 
367 367
         $utilEncodingMock
368 368
             ->method('decodeJson')
369
-            ->willReturnCallback(function ($json, $assoc) {
369
+            ->willReturnCallback(function($json, $assoc) {
370 370
                 return json_decode($json, $assoc);
371 371
             });
372 372
 
Please login to merge, or discard this patch.
Application/src/Spryker/Shared/Application/Routing/AbstractRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             $url = $wantedScheme . '://' . $this->context->getHost() . $pathInfo;
91 91
 
92 92
             return [
93
-                '_controller' => function ($url) {
93
+                '_controller' => function($url) {
94 94
                     return new RedirectResponse($url, 301);
95 95
                 },
96 96
                 '_route' => null,
Please login to merge, or discard this patch.
Oms/src/Spryker/Zed/Oms/Business/OrderStateMachine/OrderStateMachine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -784,7 +784,7 @@
 block discarded – undo
784 784
         $timeoutModel = clone $this->timeout;
785 785
 
786 786
         foreach ($orderItems as $orderItem) {
787
-            $this->handleDatabaseTransaction(function () use ($orderItem, $processes, $sourceStateBuffer, $timeoutModel, $log, $currentTime) {
787
+            $this->handleDatabaseTransaction(function() use ($orderItem, $processes, $sourceStateBuffer, $timeoutModel, $log, $currentTime) {
788 788
                 $this->executeSaveOrderItemTransaction(
789 789
                     $orderItem,
790 790
                     $processes,
Please login to merge, or discard this patch.
Flysystem/tests/SprykerTest/Service/Flysystem/FlysystemServiceTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,13 +62,13 @@
 block discarded – undo
62 62
         $this->testDataFileSystemRootDirectory = Configuration::dataDir() . static::ROOT_DIRECTORY;
63 63
 
64 64
         $container = new Container();
65
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $container) {
65
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $container) {
66 66
             return [
67 67
                 new LocalFilesystemBuilderPlugin(),
68 68
             ];
69 69
         };
70 70
 
71
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $container) {
71
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $container) {
72 72
             return [];
73 73
         };
74 74
 
Please login to merge, or discard this patch.
Zed/Development/Business/ArchitectureSniffer/ArchitectureSniffer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
             }
72 72
         }
73 73
 
74
-        $sortAlphabetically = function ($first, $second) {
74
+        $sortAlphabetically = function($first, $second) {
75 75
             return strcasecmp($first['name'], $second['name']) < 0;
76 76
         };
77 77
         usort($rules, $sortAlphabetically);
78 78
 
79
-        $sortPriority = function ($first, $second) {
79
+        $sortPriority = function($first, $second) {
80 80
             return $first['priority'] - $second['priority'];
81 81
         };
82 82
         usort($rules, $sortPriority);
Please login to merge, or discard this patch.