@@ -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); |
@@ -56,14 +56,14 @@ |
||
56 | 56 | $app = new Application(); |
57 | 57 | $app['debug'] = true; |
58 | 58 | |
59 | - $callback = function () use ($app) { |
|
59 | + $callback = function() use ($app) { |
|
60 | 60 | $subRequestHandler = new SubRequestHandler($app); |
61 | 61 | return $subRequestHandler->handleSubRequest(new Request(), self::URL_SUB_REQUEST); |
62 | 62 | }; |
63 | 63 | |
64 | 64 | $app->get(self::URL_MASTER_REQUEST, $callback); |
65 | 65 | $app->post(self::URL_MASTER_REQUEST, $callback); |
66 | - $app->get(self::URL_SUB_REQUEST, function () use ($app) { |
|
66 | + $app->get(self::URL_SUB_REQUEST, function() use ($app) { |
|
67 | 67 | return new RedirectResponse(self::URL_SUB_REQUEST); |
68 | 68 | }); |
69 | 69 |
@@ -548,7 +548,7 @@ |
||
548 | 548 | $calculationBusinessFactory = new CalculationBusinessFactory(); |
549 | 549 | |
550 | 550 | $container = new Container(); |
551 | - $container[CalculationDependencyProvider::QUOTE_CALCULATOR_PLUGIN_STACK] = function (Container $container) use ($calculatorPlugins) { |
|
551 | + $container[CalculationDependencyProvider::QUOTE_CALCULATOR_PLUGIN_STACK] = function(Container $container) use ($calculatorPlugins) { |
|
552 | 552 | return $calculatorPlugins; |
553 | 553 | }; |
554 | 554 |
@@ -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() |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $twigEnvironmentMock |
43 | 43 | ->expects($this->once()) |
44 | 44 | ->method('render') |
45 | - ->willReturnCallback(function ($templateName, $templateVariables) { |
|
45 | + ->willReturnCallback(function($templateName, $templateVariables) { |
|
46 | 46 | $this->assertArrayHasKey('namespace', $templateVariables); |
47 | 47 | $this->assertSame('Generated\FooApplication\Ide', $templateVariables['namespace']); |
48 | 48 | }); |
@@ -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') |