@@ -25,7 +25,7 @@ class RememberMeListenerTest extends TestCase
2525{
2626 public function testOnCoreSecurityDoesNotTryToPopulateNonEmptyTokenStorage ()
2727 {
28- list ( $ listener , $ tokenStorage) = $ this ->getListener ();
28+ [ $ listener , $ tokenStorage] = $ this ->getListener ();
2929
3030 $ tokenStorage
3131 ->expects ($ this ->any ())
@@ -43,7 +43,7 @@ public function testOnCoreSecurityDoesNotTryToPopulateNonEmptyTokenStorage()
4343
4444 public function testOnCoreSecurityDoesNothingWhenNoCookieIsSet ()
4545 {
46- list ( $ listener , $ tokenStorage , $ service) = $ this ->getListener ();
46+ [ $ listener , $ tokenStorage , $ service] = $ this ->getListener ();
4747
4848 $ tokenStorage
4949 ->expects ($ this ->any ())
@@ -64,7 +64,7 @@ public function testOnCoreSecurityDoesNothingWhenNoCookieIsSet()
6464
6565 public function testOnCoreSecurityIgnoresAuthenticationExceptionThrownByAuthenticationManagerImplementation ()
6666 {
67- list ( $ listener , $ tokenStorage , $ service , $ manager) = $ this ->getListener ();
67+ [ $ listener , $ tokenStorage , $ service , $ manager] = $ this ->getListener ();
6868 $ request = new Request ();
6969 $ exception = new AuthenticationException ('Authentication failed. ' );
7070
@@ -101,7 +101,7 @@ public function testOnCoreSecurityIgnoresAuthenticationOptionallyRethrowsExcepti
101101 {
102102 $ this ->expectException ('Symfony\Component\Security\Core\Exception\AuthenticationException ' );
103103 $ this ->expectExceptionMessage ('Authentication failed. ' );
104- list ( $ listener , $ tokenStorage , $ service , $ manager) = $ this ->getListener (false , false );
104+ [ $ listener , $ tokenStorage , $ service , $ manager] = $ this ->getListener (false , false );
105105
106106 $ tokenStorage
107107 ->expects ($ this ->any ())
@@ -134,7 +134,7 @@ public function testOnCoreSecurityIgnoresAuthenticationOptionallyRethrowsExcepti
134134
135135 public function testOnCoreSecurityAuthenticationExceptionDuringAutoLoginTriggersLoginFail ()
136136 {
137- list ( $ listener , $ tokenStorage , $ service , $ manager) = $ this ->getListener ();
137+ [ $ listener , $ tokenStorage , $ service , $ manager] = $ this ->getListener ();
138138
139139 $ tokenStorage
140140 ->expects ($ this ->any ())
@@ -166,7 +166,7 @@ public function testOnCoreSecurityAuthenticationExceptionDuringAutoLoginTriggers
166166
167167 public function testOnCoreSecurity ()
168168 {
169- list ( $ listener , $ tokenStorage , $ service , $ manager) = $ this ->getListener ();
169+ [ $ listener , $ tokenStorage , $ service , $ manager] = $ this ->getListener ();
170170
171171 $ tokenStorage
172172 ->expects ($ this ->any ())
@@ -200,7 +200,7 @@ public function testOnCoreSecurity()
200200
201201 public function testSessionStrategy ()
202202 {
203- list ( $ listener , $ tokenStorage , $ service , $ manager , , , $ sessionStrategy) = $ this ->getListener (false , true , true );
203+ [ $ listener , $ tokenStorage , $ service , $ manager , , , $ sessionStrategy] = $ this ->getListener (false , true , true );
204204
205205 $ tokenStorage
206206 ->expects ($ this ->any ())
@@ -250,7 +250,7 @@ public function testSessionStrategy()
250250
251251 public function testSessionIsMigratedByDefault ()
252252 {
253- list ( $ listener , $ tokenStorage , $ service , $ manager) = $ this ->getListener (false , true , false );
253+ [ $ listener , $ tokenStorage , $ service , $ manager] = $ this ->getListener (false , true , false );
254254
255255 $ tokenStorage
256256 ->expects ($ this ->any ())
@@ -298,7 +298,7 @@ public function testSessionIsMigratedByDefault()
298298
299299 public function testOnCoreSecurityInteractiveLoginEventIsDispatchedIfDispatcherIsPresent ()
300300 {
301- list ( $ listener , $ tokenStorage , $ service , $ manager , , $ dispatcher) = $ this ->getListener (true );
301+ [ $ listener , $ tokenStorage , $ service , $ manager , , $ dispatcher] = $ this ->getListener (true );
302302
303303 $ tokenStorage
304304 ->expects ($ this ->any ())
0 commit comments