Completed
Push — master ( 6279d8...15f84e )
by mark
30s queued 11s
created
Communication/Plugin/ServiceProvider/TwigCurrencyServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         if (!static::$application) {
110 110
             $application = new Application();
111
-            $application['twig'] = function () {
111
+            $application['twig'] = function() {
112 112
                 return new Twig_Environment(new Twig_Loader_Filesystem());
113 113
             };
114 114
 
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
@@ -128,11 +128,11 @@  discard block
 block discarded – undo
128 128
     {
129 129
         return [
130 130
             [
131
-               'getFunctionName' => 'functionName',
132
-               'getAvailableTemplates' => [
133
-                   'identifier' => '@module/path/to/template.twig',
134
-               ],
135
-               'getUsageInformation' => 'how to..',
131
+                'getFunctionName' => 'functionName',
132
+                'getAvailableTemplates' => [
133
+                    'identifier' => '@module/path/to/template.twig',
134
+                ],
135
+                'getUsageInformation' => 'how to..',
136 136
             ],
137 137
             [
138 138
                 'getFunctionName' => 'functionName1',
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $container = $this->createZedContainer();
183 183
         $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
184 184
             return [
185
-              'function' => $cmsContentWidgetParameterMapperPluginMock,
185
+                'function' => $cmsContentWidgetParameterMapperPluginMock,
186 186
             ];
187 187
         };
188 188
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,13 +183,13 @@
 block discarded – undo
183 183
         $cmsBusinessFactory = $this->createBusinessFactory();
184 184
 
185 185
         $container = $this->createZedContainer();
186
-        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
186
+        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function(Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188 188
               'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
192
-        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function (Container $container) {
192
+        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function(Container $container) {
193 193
             return $this->createGlossaryFacadeMock();
194 194
         };
195 195
 
Please login to merge, or discard this patch.
ShipmentDiscountConnector/ShipmentDiscountConnectorDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addShipmentFacade(Container $container)
44 44
     {
45
-        $container[static::FACADE_SHIPMENT] = function (Container $container) {
45
+        $container[static::FACADE_SHIPMENT] = function(Container $container) {
46 46
             return new ShipmentDiscountConnectorToShipmentBridge($container->getLocator()->shipment()->facade());
47 47
         };
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addDiscountFacade(Container $container)
58 58
     {
59
-        $container[static::FACADE_DISCOUNT] = function (Container $container) {
59
+        $container[static::FACADE_DISCOUNT] = function(Container $container) {
60 60
             return new ShipmentDiscountConnectorToDiscountBridge($container->getLocator()->discount()->facade());
61 61
         };
62 62
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addMoneyFacade(Container $container)
72 72
     {
73
-        $container[static::FACADE_MONEY] = function (Container $container) {
73
+        $container[static::FACADE_MONEY] = function(Container $container) {
74 74
             return new ShipmentDiscountConnectorToMoneyBridge($container->getLocator()->money()->facade());
75 75
         };
76 76
 
Please login to merge, or discard this patch.
ProductDiscountConnector/Business/ProductDiscountConnectorFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
         $dependencyProvider->provideBusinessLayerDependencies($container);
190 190
         $dependencyProvider->provideCommunicationLayerDependencies($container);
191 191
         $dependencyProvider->providePersistenceLayerDependencies($container);
192
-        $container[ProductDiscountConnectorDependencyProvider::FACADE_PRODUCT] = function (Container $container) use ($productFacade) {
192
+        $container[ProductDiscountConnectorDependencyProvider::FACADE_PRODUCT] = function(Container $container) use ($productFacade) {
193 193
             return new ProductDiscountConnectorToProductBridge($productFacade);
194 194
         };
195 195
 
Please login to merge, or discard this patch.
Zed/ProductOptionCartConnector/Business/Model/GroupKeyExpanderTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
         $changeTransfer = $this->createCartChangeTransfer(
24 24
             [
25 25
                 'cartItem1' => [
26
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
27
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
26
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
27
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
28 28
                 ],
29 29
             ]
30 30
         );
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
         $changeTransfer = $this->createCartChangeTransfer(
45 45
             [
46 46
                 'cartItem1' => [
47
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
48
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
47
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
48
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
49 49
                 ],
50 50
             ]
51 51
         );
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
         $changeTransfer = $this->createCartChangeTransfer(
68 68
             [
69 69
                 'cartItem1' => [
70
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
71
-                   (new ProductOptionTransfer())->setIdProductOptionValue(3),
72
-                   (new ProductOptionTransfer())->setIdProductOptionValue('A'),
73
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
70
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
71
+                    (new ProductOptionTransfer())->setIdProductOptionValue(3),
72
+                    (new ProductOptionTransfer())->setIdProductOptionValue('A'),
73
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
74 74
                 ],
75 75
                 'cartItem2' => [
76 76
                     (new ProductOptionTransfer())->setIdProductOptionValue(2),
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/StateMachine/Business/StateMachine/TriggerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $stateMachinePersistenceMock->expects($this->once())
48 48
             ->method('updateStateMachineItemsFromPersistence')
49 49
             ->willReturnCallback(
50
-                function ($stateMachineItems) {
50
+                function($stateMachineItems) {
51 51
                     return $stateMachineItems;
52 52
                 }
53 53
             );
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
         $stateMachinePersistenceMock->expects($this->once())
289 289
             ->method('updateStateMachineItemsFromPersistence')
290 290
             ->willReturnCallback(
291
-                function ($stateMachineItems) {
291
+                function($stateMachineItems) {
292 292
                     return $stateMachineItems;
293 293
                 }
294 294
             );
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/StateMachine/Business/StateMachine/FinderTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
     public function testGetManualEventsForStateMachineItemsShouldReturnManualEventsForGivenItems()
70 70
     {
71 71
         $manualEvents = [
72
-           'state name' => [
73
-               'event1',
74
-               'event2',
75
-           ],
72
+            'state name' => [
73
+                'event1',
74
+                'event2',
75
+            ],
76 76
         ];
77 77
 
78 78
         $processMock = $this->createProcessMock();
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/StateMachine/Business/StateMachineFacadeTest.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -584,15 +584,15 @@
 block discarded – undo
584 584
         $container = new Container();
585 585
         $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function () use ($stateMachineHandler) {
586 586
             return [
587
-               $stateMachineHandler,
587
+                $stateMachineHandler,
588 588
             ];
589 589
         };
590 590
 
591 591
         $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function () {
592
-             return new GraphPlugin();
592
+                return new GraphPlugin();
593 593
         };
594 594
         $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function () {
595
-             return new UtilNetworkService();
595
+                return new UtilNetworkService();
596 596
         };
597 597
 
598 598
         $stateMachineBusinessFactory->setContainer($container);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -581,16 +581,16 @@
 block discarded – undo
581 581
         $stateMachineBusinessFactory->setConfig($stateMachineConfig);
582 582
 
583 583
         $container = new Container();
584
-        $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function () use ($stateMachineHandler) {
584
+        $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function() use ($stateMachineHandler) {
585 585
             return [
586 586
                $stateMachineHandler,
587 587
             ];
588 588
         };
589 589
 
590
-        $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function () {
590
+        $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function() {
591 591
              return new GraphPlugin();
592 592
         };
593
-        $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function () {
593
+        $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function() {
594 594
              return new UtilNetworkService();
595 595
         };
596 596
 
Please login to merge, or discard this patch.
SprykerTest/Zed/StateMachine/Business/StateMachineFacadeExceptionTest.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -584,15 +584,15 @@
 block discarded – undo
584 584
         $container = new Container();
585 585
         $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function () use ($stateMachineHandler) {
586 586
             return [
587
-               $stateMachineHandler,
587
+                $stateMachineHandler,
588 588
             ];
589 589
         };
590 590
 
591 591
         $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function () {
592
-             return new GraphPlugin();
592
+                return new GraphPlugin();
593 593
         };
594 594
         $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function () {
595
-             return new UtilNetworkService();
595
+                return new UtilNetworkService();
596 596
         };
597 597
 
598 598
         $stateMachineBusinessFactory->setContainer($container);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -581,16 +581,16 @@
 block discarded – undo
581 581
         $stateMachineBusinessFactory->setConfig($stateMachineConfig);
582 582
 
583 583
         $container = new Container();
584
-        $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function () use ($stateMachineHandler) {
584
+        $container[StateMachineDependencyProvider::PLUGINS_STATE_MACHINE_HANDLERS] = function() use ($stateMachineHandler) {
585 585
             return [
586 586
                $stateMachineHandler,
587 587
             ];
588 588
         };
589 589
 
590
-        $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function () {
590
+        $container[StateMachineDependencyProvider::PLUGIN_GRAPH] = function() {
591 591
              return new GraphPlugin();
592 592
         };
593
-        $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function () {
593
+        $container[StateMachineDependencyProvider::SERVICE_NETWORK] = function() {
594 594
              return new UtilNetworkService();
595 595
         };
596 596
 
Please login to merge, or discard this patch.