@@ -40,7 +40,7 @@ |
||
40 | 40 | $urlRedirectTransfer->getIdUrlRedirect() |
41 | 41 | )); |
42 | 42 | |
43 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($urlRedirectTransfer) { |
|
43 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($urlRedirectTransfer) { |
|
44 | 44 | $this->cleanupUrlRedirect($urlRedirectTransfer->getSource()->getIdUrl()); |
45 | 45 | }); |
46 | 46 |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | static::COL_TWO => 'Two', |
82 | 82 | ]); |
83 | 83 | $config->setSortable([ |
84 | - static::COL_ONE, |
|
85 | - static::COL_TWO, |
|
84 | + static::COL_ONE, |
|
85 | + static::COL_TWO, |
|
86 | 86 | ]); |
87 | 87 | |
88 | 88 | $config->setDefaultSortField(static::COL_TWO); |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | $result = $this->table->getOrders($config); |
91 | 91 | $expected = [ |
92 | 92 | [ |
93 | - 'column' => 1, |
|
94 | - 'dir' => 'asc', |
|
93 | + 'column' => 1, |
|
94 | + 'dir' => 'asc', |
|
95 | 95 | ], |
96 | 96 | ]; |
97 | 97 | $this->assertSame($expected, $result); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | public function testUpdateCmsVersionPluginPersistsUserInformation() |
51 | 51 | { |
52 | 52 | $container = new Container(); |
53 | - $container[CmsUserConnectorDependencyProvider::FACADE_USER] = function (Container $container) { |
|
53 | + $container[CmsUserConnectorDependencyProvider::FACADE_USER] = function(Container $container) { |
|
54 | 54 | return $this->createUserMockBridgeForUpdating(); |
55 | 55 | }; |
56 | 56 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | public function testExpandCmsVersionTransferAddsUserInformationToCmsVersionTransfer() |
80 | 80 | { |
81 | 81 | $container = new Container(); |
82 | - $container[CmsUserConnectorDependencyProvider::FACADE_USER] = function (Container $container) { |
|
82 | + $container[CmsUserConnectorDependencyProvider::FACADE_USER] = function(Container $container) { |
|
83 | 83 | return $this->createUserMockBridgeForExpanding(); |
84 | 84 | }; |
85 | 85 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | protected function prepareTest($container) |
102 | 102 | { |
103 | - $container[CmsUserConnectorDependencyProvider::QUERY_CONTAINER_CMS] = function (Container $container) { |
|
103 | + $container[CmsUserConnectorDependencyProvider::QUERY_CONTAINER_CMS] = function(Container $container) { |
|
104 | 104 | return new CmsUserConnectorToCmsQueryContainer($container->getLocator() |
105 | 105 | ->cms() |
106 | 106 | ->queryContainer()); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | { |
41 | 41 | $tester = $this->createFunctionalTester(); |
42 | 42 | |
43 | - $tester->execute(function () { |
|
43 | + $tester->execute(function() { |
|
44 | 44 | $this |
45 | 45 | ->getDevelopmentBusinessFactory() |
46 | 46 | ->createYvesIdeAutoCompletionWriter() |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | { |
59 | 59 | $tester = $this->createFunctionalTester(); |
60 | 60 | |
61 | - $tester->execute(function () { |
|
61 | + $tester->execute(function() { |
|
62 | 62 | $this |
63 | 63 | ->getDevelopmentBusinessFactory() |
64 | 64 | ->createZedIdeAutoCompletionWriter() |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | { |
77 | 77 | $tester = $this->createFunctionalTester(); |
78 | 78 | |
79 | - $tester->execute(function () { |
|
79 | + $tester->execute(function() { |
|
80 | 80 | $this |
81 | 81 | ->getDevelopmentBusinessFactory() |
82 | 82 | ->createClientIdeAutoCompletionWriter() |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | { |
95 | 95 | $tester = $this->createFunctionalTester(); |
96 | 96 | |
97 | - $tester->execute(function () { |
|
97 | + $tester->execute(function() { |
|
98 | 98 | $this |
99 | 99 | ->getDevelopmentBusinessFactory() |
100 | 100 | ->createServiceIdeAutoCompletionWriter() |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | return [ |
82 | 82 | ['triggerEvent', $orderItemsIdentifier, $eventId, $orderItems, []], |
83 | - ['triggerEventForNewItem', $orderItemsIdentifier, $orderItems, []], |
|
83 | + ['triggerEventForNewItem', $orderItemsIdentifier, $orderItems, []], |
|
84 | 84 | ['triggerEventForNewOrderItems', $orderItemsIdentifier, $orderItemIds, []], |
85 | 85 | ['triggerEventForOneOrderItem', $singleOrderItemIdentifier, $eventId, $orderItemIds[0], []], |
86 | 86 | ['triggerEventForOrderItems', $orderItemsIdentifier, $eventId, $orderItemIds, []], |
@@ -89,8 +89,8 @@ |
||
89 | 89 | protected function createSalesOrderItemBundleEntityMock() |
90 | 90 | { |
91 | 91 | $salesOrderItemBundleEntityMock = $this->getMockBuilder(SpySalesOrderItemBundle::class) |
92 | - ->setMethods(['save']) |
|
93 | - ->getMock(); |
|
92 | + ->setMethods(['save']) |
|
93 | + ->getMock(); |
|
94 | 94 | |
95 | 95 | $salesOrderItemBundleEntityMock->expects($this->once()) |
96 | 96 | ->method('save') |
@@ -175,7 +175,7 @@ |
||
175 | 175 | protected function createTransferObjectMock() |
176 | 176 | { |
177 | 177 | return $this->getMockBuilder(TransferInterface::class) |
178 | - ->getMock(); |
|
178 | + ->getMock(); |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | /** |
@@ -264,15 +264,15 @@ |
||
264 | 264 | |
265 | 265 | $businessLayerDependencies = $eventDependencyProvider->provideBusinessLayerDependencies($container); |
266 | 266 | |
267 | - $container[EventDependencyProvider::CLIENT_QUEUE] = function () use ($queueClientMock) { |
|
267 | + $container[EventDependencyProvider::CLIENT_QUEUE] = function() use ($queueClientMock) { |
|
268 | 268 | return $queueClientMock; |
269 | 269 | }; |
270 | 270 | |
271 | - $container[EventDependencyProvider::EVENT_LISTENERS] = function () use ($eventCollection) { |
|
271 | + $container[EventDependencyProvider::EVENT_LISTENERS] = function() use ($eventCollection) { |
|
272 | 272 | return $eventCollection; |
273 | 273 | }; |
274 | 274 | |
275 | - $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function () use ($eventSubscriberCollection) { |
|
275 | + $container[EventDependencyProvider::EVENT_SUBSCRIBERS] = function() use ($eventSubscriberCollection) { |
|
276 | 276 | return $eventSubscriberCollection; |
277 | 277 | }; |
278 | 278 |
@@ -128,11 +128,11 @@ discard block |
||
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 |
||
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 |
@@ -183,13 +183,13 @@ |
||
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 |
@@ -189,7 +189,7 @@ |
||
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 |