@@ -47,7 +47,7 @@ discard block |
||
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 |
||
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 | ); |
@@ -69,10 +69,10 @@ |
||
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(); |
@@ -584,15 +584,15 @@ |
||
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); |
@@ -581,16 +581,16 @@ |
||
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 |
@@ -584,15 +584,15 @@ |
||
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); |
@@ -581,16 +581,16 @@ |
||
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 |
@@ -64,7 +64,7 @@ |
||
64 | 64 | public function getActiveProcesses() |
65 | 65 | { |
66 | 66 | return [ |
67 | - 'TestProcess', |
|
67 | + 'TestProcess', |
|
68 | 68 | ]; |
69 | 69 | } |
70 | 70 |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $searchFactoryMock |
55 | 55 | ->expects($this->once()) |
56 | 56 | ->method('createSearchConfig') |
57 | - ->willReturnCallback(function () { |
|
57 | + ->willReturnCallback(function() { |
|
58 | 58 | return $this->getMockBuilder(SearchConfig::class)->disableOriginalConstructor()->getMock(); |
59 | 59 | }); |
60 | 60 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | "1": "one", |
29 | 29 | "2": "two" |
30 | 30 | } |
31 | -JSON; |
|
31 | +json; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @var array |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\UtilDataReaderServiceTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $app['controller.service.error'] = $this->getFactory()->createExceptionHandlerDispatcher(); |
34 | 34 | |
35 | 35 | $app['dispatcher'] = $app->share( |
36 | - $app->extend('dispatcher', function (EventDispatcherInterface $dispatcher) { |
|
36 | + $app->extend('dispatcher', function(EventDispatcherInterface $dispatcher) { |
|
37 | 37 | $exceptionListener = new ExceptionListener( |
38 | 38 | 'controller.service.error:dispatch' |
39 | 39 | ); |