Completed
Push — master ( 3ef1d3...dea670 )
by John
02:57
created
tests/unit/Firewall/JwtAuthenticationListenerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $mock = $this->authenticationManagerMock;
62 62
         $mock->expects($this->once())
63 63
             ->method('authenticate')
64
-            ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) {
64
+            ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) {
65 65
                 return $token->getCredentials() === $tokenString;
66 66
             }));
67 67
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $mock = $this->authenticationManagerMock;
84 84
         $mock->expects($this->once())
85 85
             ->method('authenticate')
86
-            ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) {
86
+            ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) {
87 87
                 return $token->getCredentials() === $tokenString;
88 88
             }));
89 89
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $mock = $this->authenticationManagerMock;
105 105
         $mock->expects($this->once())
106 106
             ->method('authenticate')
107
-            ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) {
107
+            ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) {
108 108
                 return $token->getCredentials() === $tokenString;
109 109
             }));
110 110
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         $mock = $this->authenticationManagerMock;
145 145
         $mock->expects($this->once())
146 146
             ->method('authenticate')
147
-            ->willReturnCallback(function () use($authenticatedToken) {
147
+            ->willReturnCallback(function() use($authenticatedToken) {
148 148
                 return $authenticatedToken;
149 149
             });
150 150
 
Please login to merge, or discard this patch.