@@ -60,7 +60,7 @@ |
||
60 | 60 | |
61 | 61 | $cache = new FilesystemAdapter('sil_route_security_bundle', 0, $this->cacheDir); |
62 | 62 | |
63 | - $securedRoutesWithUserPermission = $cache->get($cacheKey, function (ItemInterface $item) use ($user){ |
|
63 | + $securedRoutesWithUserPermission = $cache->get($cacheKey, function(ItemInterface $item) use ($user){ |
|
64 | 64 | $item->expiresAfter(3600); |
65 | 65 | |
66 | 66 | $securedRoutesWithUserPermission = []; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | SilRouteSecurity.addSecuredRoutes('app_secured_route_test', true); |
37 | 37 | |
38 | 38 | JAVASCRIPT |
39 | - , $response->getContent()); |
|
39 | + , $response->getContent()); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | public function testWithUserHasNotAccessToRoute() |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | { |
12 | 12 | public function testWithUnauthenticatedUser() |
13 | 13 | { |
14 | - $client = static::createClient(); |
|
14 | + $client = static::createClient(); |
|
15 | 15 | |
16 | 16 | $crawler = $client->request('GET', '/sil-route-security/export-js-secured-routes.js'); |
17 | 17 | $response = $client->getResponse(); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | public function testWithUserHasAccessToRoute() |
23 | 23 | { |
24 | - $client = static::createClient(); |
|
24 | + $client = static::createClient(); |
|
25 | 25 | |
26 | 26 | $user = $this->createMock(UserInterface::class); |
27 | 27 | $user->method('getRoles')->willReturn(['ROLE_APP_SECURED_ROUTE_TEST']); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | public function testWithUserHasNotAccessToRoute() |
43 | 43 | { |
44 | - $client = static::createClient(); |
|
44 | + $client = static::createClient(); |
|
45 | 45 | |
46 | 46 | $user = $this->createMock(UserInterface::class); |
47 | 47 | $user->method('getRoles')->willReturn([]); |