Completed
Push — master ( 6435a2...ebbf46 )
by Julien
01:57
created
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     private function fixAuthorizationHeader()
26 26
     {
27
-        $this['sandstone.listener.authorization_header_fix'] = function () {
27
+        $this['sandstone.listener.authorization_header_fix'] = function() {
28 28
             return new AuthorizationHeaderFixListener();
29 29
         };
30 30
 
Please login to merge, or discard this patch.
tests/Integration/PushOnConsoleCommandTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
         $app = new App\AppRestApi([
16 16
             'debug' => true,
17
-            'sandstone.push' => function () use ($pushServerMock) {
17
+            'sandstone.push' => function() use ($pushServerMock) {
18 18
                 return $pushServerMock;
19 19
             },
20 20
         ]);
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $pushServerMock
25 25
             ->expects($this->once())
26 26
             ->method('send')
27
-            ->with($this->callback(function ($message) {
27
+            ->with($this->callback(function($message) {
28 28
                 $decodedMessage = unserialize($message);
29 29
                 $serializedEvent = '{"propagation_stopped":false,"id":42,"title":"Unicorns spotted in Alaska","url":"http:\/\/unicorn.com\/articles\/unicorns-spotted-alaska"}';
30 30
 
Please login to merge, or discard this patch.
tests/Unit/Websocket/ApplicationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
         $app->register(new SerializerServiceProvider());
21 21
 
22
-        $app['sandstone.websocket.router'] = function () {
22
+        $app['sandstone.websocket.router'] = function() {
23 23
             $wrongTopic = new WrongTopic('my-topic');
24 24
             $topicRouterMock = $this->getMockBuilder(TopicRouter::class)->disableOriginalConstructor()->getMock();
25 25
 
Please login to merge, or discard this patch.