@@ -104,7 +104,7 @@ public function testShouldDispatchBothAsyncEventAndSyncOne()
104104 echo "Async event \n" ;
105105 });
106106
107- $ this ->dispatch ($ this ->dispatcher , new GenericEvent (),'test_async ' );
107+ $ this ->dispatch ($ this ->dispatcher , new GenericEvent (), 'test_async ' );
108108 $ this ->processMessages ();
109109
110110 $ this ->expectOutputString ("Sync event \nSend message for event: test_async \nAsync event \n" );
@@ -115,7 +115,7 @@ public function testShouldDispatchBothAsyncEventAndSyncOneFromWhenDispatchedFrom
115115 $ this ->dispatcher ->addListener ('foo ' , function ($ event , $ name , EventDispatcherInterface $ dispatcher ) {
116116 echo "Foo event \n" ;
117117
118- $ this ->dispatch ($ dispatcher , new GenericEvent (),'test_async ' );
118+ $ this ->dispatch ($ dispatcher , new GenericEvent (), 'test_async ' );
119119 });
120120
121121 $ this ->dispatcher ->addListener ('test_async ' , function () {
@@ -128,7 +128,7 @@ public function testShouldDispatchBothAsyncEventAndSyncOneFromWhenDispatchedFrom
128128 echo "Async event \n" ;
129129 });
130130
131- $ this ->dispatch ($ this ->dispatcher , new GenericEvent (),'foo ' );
131+ $ this ->dispatch ($ this ->dispatcher , new GenericEvent (), 'foo ' );
132132
133133 $ this ->processMessages ();
134134
@@ -143,14 +143,14 @@ public function testShouldDispatchOtherAsyncEventFromAsyncEvent()
143143 $ this ->asyncDispatcher ->addListener ('test_async ' , function ($ event , $ eventName , EventDispatcherInterface $ dispatcher ) {
144144 echo "Async event \n" ;
145145
146- $ this ->dispatch ($ dispatcher , new GenericEvent (),'test_async_from_async ' );
146+ $ this ->dispatch ($ dispatcher , new GenericEvent (), 'test_async_from_async ' );
147147 });
148148
149149 $ this ->dispatcher ->addListener ('test_async_from_async ' , function ($ event , $ eventName , EventDispatcherInterface $ dispatcher ) {
150150 echo "Async event from event \n" ;
151151 });
152152
153- $ this ->dispatch ($ this ->dispatcher , new GenericEvent (),'test_async ' );
153+ $ this ->dispatch ($ this ->dispatcher , new GenericEvent (), 'test_async ' );
154154
155155 $ this ->processMessages ();
156156 $ this ->processMessages ();
@@ -169,10 +169,10 @@ public function testShouldDispatchSyncListenerIfDispatchedFromAsycListner()
169169 $ this ->asyncDispatcher ->addListener ('test_async ' , function ($ event , $ eventName , EventDispatcherInterface $ dispatcher ) {
170170 echo "Async event \n" ;
171171
172- $ this ->dispatch ($ dispatcher , new GenericEvent (),'sync ' );
172+ $ this ->dispatch ($ dispatcher , new GenericEvent (), 'sync ' );
173173 });
174174
175- $ this ->dispatch ($ this ->dispatcher , new GenericEvent (),'test_async ' );
175+ $ this ->dispatch ($ this ->dispatcher , new GenericEvent (), 'test_async ' );
176176
177177 $ this ->processMessages ();
178178
0 commit comments