Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed CS

  • Loading branch information...
commit 942afaa9c1dfb7011f9c136cb477d6d26a0dd6ce 1 parent 0d1a531
Fabien Potencier fabpot authored

Showing 68 changed files with 68 additions and 68 deletions. Show diff stats Hide diff stats

  1. +1 1  Acl/Dbal/Schema.php
  2. +1 1  Acl/Domain/AclCollectionCache.php
  3. +1 1  Acl/Domain/AuditLogger.php
  4. +1 1  Acl/Domain/FieldEntry.php
  5. +1 1  Acl/Domain/ObjectIdentity.php
  6. +1 1  Acl/Domain/ObjectIdentityRetrievalStrategy.php
  7. +1 1  Acl/Domain/RoleSecurityIdentity.php
  8. +1 1  Acl/Domain/SecurityIdentityRetrievalStrategy.php
  9. +1 1  Acl/Domain/UserSecurityIdentity.php
  10. +1 1  Acl/Exception/AclAlreadyExistsException.php
  11. +1 1  Acl/Exception/AclNotFoundException.php
  12. +1 1  Acl/Exception/ConcurrentModificationException.php
  13. +1 1  Acl/Exception/Exception.php
  14. +1 1  Acl/Exception/InvalidDomainObjectException.php
  15. +1 1  Acl/Exception/NoAceFoundException.php
  16. +1 1  Acl/Exception/NotAllAclsFoundException.php
  17. +1 1  Acl/Exception/SidNotLoadedException.php
  18. +1 1  Acl/Model/AclCacheInterface.php
  19. +1 1  Acl/Model/AclInterface.php
  20. +1 1  Acl/Model/AclProviderInterface.php
  21. +1 1  Acl/Model/AuditLoggerInterface.php
  22. +1 1  Acl/Model/AuditableAclInterface.php
  23. +1 1  Acl/Model/AuditableEntryInterface.php
  24. +1 1  Acl/Model/DomainObjectInterface.php
  25. +1 1  Acl/Model/EntryInterface.php
  26. +1 1  Acl/Model/FieldEntryInterface.php
  27. +1 1  Acl/Model/MutableAclInterface.php
  28. +1 1  Acl/Model/MutableAclProviderInterface.php
  29. +1 1  Acl/Model/ObjectIdentityInterface.php
  30. +1 1  Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
  31. +1 1  Acl/Model/PermissionGrantingStrategyInterface.php
  32. +1 1  Acl/Model/SecurityIdentityInterface.php
  33. +1 1  Acl/Model/SecurityIdentityRetrievalStrategyInterface.php
  34. +1 1  Acl/Permission/BasicPermissionMap.php
  35. +1 1  Acl/Permission/MaskBuilder.php
  36. +1 1  Acl/Permission/PermissionMapInterface.php
  37. +1 1  Acl/Voter/FieldVote.php
  38. +1 1  Core/Authentication/Provider/RememberMeAuthenticationProvider.php
  39. +1 1  Core/Authentication/RememberMe/InMemoryTokenProvider.php
  40. +1 1  Core/Authentication/RememberMe/PersistentToken.php
  41. +1 1  Core/Authentication/RememberMe/PersistentTokenInterface.php
  42. +1 1  Core/Authentication/RememberMe/TokenProviderInterface.php
  43. +1 1  Core/Authentication/Token/RememberMeToken.php
  44. +1 1  Core/Encoder/EncoderFactory.php
  45. +1 1  Core/Encoder/EncoderFactoryInterface.php
  46. +1 1  Core/Exception/CookieTheftException.php
  47. +1 1  Core/Exception/InvalidCsrfTokenException.php
  48. +1 1  Core/Exception/SessionUnavailableException.php
  49. +1 1  Core/Exception/UnsupportedUserException.php
  50. +1 1  Core/SecurityContextInterface.php
  51. +1 1  Core/User/ChainUserProvider.php
  52. +1 1  Core/User/UserProviderInterface.php
  53. +1 1  Http/Authentication/AuthenticationFailureHandlerInterface.php
  54. +1 1  Http/Authentication/AuthenticationSuccessHandlerInterface.php
  55. +1 1  Http/Event/InteractiveLoginEvent.php
  56. +1 1  Http/Event/SwitchUserEvent.php
  57. +1 1  Http/Firewall/ListenerInterface.php
  58. +1 1  Http/Firewall/RememberMeListener.php
  59. +1 1  Http/Firewall/UsernamePasswordFormAuthenticationListener.php
  60. +1 1  Http/FirewallMapInterface.php
  61. +1 1  Http/Logout/LogoutHandlerInterface.php
  62. +1 1  Http/Logout/LogoutSuccessHandlerInterface.php
  63. +1 1  Http/Logout/SessionLogoutHandler.php
  64. +1 1  Http/RememberMe/PersistentTokenBasedRememberMeServices.php
  65. +1 1  Http/RememberMe/RememberMeServicesInterface.php
  66. +1 1  Http/SecurityEvents.php
  67. +1 1  Http/Session/SessionAuthenticationStrategy.php
  68. +1 1  Http/Session/SessionAuthenticationStrategyInterface.php
2  Acl/Dbal/Schema.php
@@ -142,4 +142,4 @@ protected function addSecurityIdentitiesTable()
142 142 $table->setPrimaryKey(array('id'));
143 143 $table->addUniqueIndex(array('identifier', 'username'));
144 144 }
145   -}
  145 +}
2  Acl/Domain/AclCollectionCache.php
@@ -63,4 +63,4 @@ public function cache($collection, array $tokens = array())
63 63
64 64 $this->aclProvider->findAcls($oids, $sids);
65 65 }
66   -}
  66 +}
2  Acl/Domain/AuditLogger.php
@@ -50,4 +50,4 @@ public function logIfNeeded($granted, EntryInterface $ace)
50 50 * @return void
51 51 */
52 52 abstract protected function doLog($granted, EntryInterface $ace);
53   -}
  53 +}
2  Acl/Domain/FieldEntry.php
@@ -72,4 +72,4 @@ public function unserialize($serialized)
72 72 list($this->field, $parentStr) = unserialize($serialized);
73 73 parent::unserialize($parentStr);
74 74 }
75   -}
  75 +}
2  Acl/Domain/ObjectIdentity.php
@@ -107,4 +107,4 @@ public function __toString()
107 107 {
108 108 return sprintf('ObjectIdentity(%s, %s)', $this->identifier, $this->type);
109 109 }
110   -}
  110 +}
2  Acl/Domain/ObjectIdentityRetrievalStrategy.php
@@ -32,4 +32,4 @@ public function getObjectIdentity($domainObject)
32 32 return null;
33 33 }
34 34 }
35   -}
  35 +}
2  Acl/Domain/RoleSecurityIdentity.php
@@ -71,4 +71,4 @@ public function __toString()
71 71 {
72 72 return sprintf('RoleSecurityIdentity(%s)', $this->role);
73 73 }
74   -}
  74 +}
2  Acl/Domain/SecurityIdentityRetrievalStrategy.php
@@ -79,4 +79,4 @@ public function getSecurityIdentities(TokenInterface $token)
79 79
80 80 return $sids;
81 81 }
82   -}
  82 +}
2  Acl/Domain/UserSecurityIdentity.php
@@ -116,4 +116,4 @@ public function __toString()
116 116 {
117 117 return sprintf('UserSecurityIdentity(%s, %s)', $this->username, $this->class);
118 118 }
119   -}
  119 +}
2  Acl/Exception/AclAlreadyExistsException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class AclAlreadyExistsException extends Exception
21 21 {
22   -}
  22 +}
2  Acl/Exception/AclNotFoundException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class AclNotFoundException extends Exception
21 21 {
22   -}
  22 +}
2  Acl/Exception/ConcurrentModificationException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class ConcurrentModificationException extends Exception
21 21 {
22   -}
  22 +}
2  Acl/Exception/Exception.php
@@ -18,4 +18,4 @@
18 18 */
19 19 class Exception extends \Exception
20 20 {
21   -}
  21 +}
2  Acl/Exception/InvalidDomainObjectException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class InvalidDomainObjectException extends Exception
21 21 {
22   -}
  22 +}
2  Acl/Exception/NoAceFoundException.php
@@ -23,4 +23,4 @@ public function __construct()
23 23 {
24 24 parent::__construct('No applicable ACE was found.');
25 25 }
26   -}
  26 +}
2  Acl/Exception/NotAllAclsFoundException.php
@@ -44,4 +44,4 @@ public function getPartialResult()
44 44 {
45 45 return $this->partialResult;
46 46 }
47   -}
  47 +}
2  Acl/Exception/SidNotLoadedException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class SidNotLoadedException extends Exception
21 21 {
22   -}
  22 +}
2  Acl/Model/AclCacheInterface.php
@@ -66,4 +66,4 @@ function putInCache(AclInterface $acl);
66 66 * @return void
67 67 */
68 68 function clearCache();
69   -}
  69 +}
2  Acl/Model/AclInterface.php
@@ -103,4 +103,4 @@ function isGranted(array $masks, array $securityIdentities, $administrativeMode
103 103 * @return Boolean
104 104 */
105 105 function isSidLoaded($securityIdentities);
106   -}
  106 +}
2  Acl/Model/AclProviderInterface.php
@@ -46,4 +46,4 @@ function findAcl(ObjectIdentityInterface $oid, array $sids = array());
46 46 * @return \SplObjectStorage mapping the passed object identities to ACLs
47 47 */
48 48 function findAcls(array $oids, array $sids = array());
49   -}
  49 +}
2  Acl/Model/AuditLoggerInterface.php
@@ -27,4 +27,4 @@
27 27 * @return void
28 28 */
29 29 function logIfNeeded($granted, EntryInterface $ace);
30   -}
  30 +}
2  Acl/Model/AuditableAclInterface.php
@@ -60,4 +60,4 @@ function updateObjectAuditing($index, $auditSuccess, $auditFailure);
60 60 * @return void
61 61 */
62 62 function updateObjectFieldAuditing($index, $field, $auditSuccess, $auditFailure);
63   -}
  63 +}
2  Acl/Model/AuditableEntryInterface.php
@@ -31,4 +31,4 @@ function isAuditFailure();
31 31 * @return Boolean
32 32 */
33 33 function isAuditSuccess();
34   -}
  34 +}
2  Acl/Model/DomainObjectInterface.php
@@ -26,4 +26,4 @@
26 26 * @return string
27 27 */
28 28 function getObjectIdentifier();
29   -}
  29 +}
2  Acl/Model/EntryInterface.php
@@ -62,4 +62,4 @@ function getStrategy();
62 62 * @return Boolean
63 63 */
64 64 function isGranting();
65   -}
  65 +}
2  Acl/Model/FieldEntryInterface.php
@@ -24,4 +24,4 @@
24 24 * @return string
25 25 */
26 26 function getField();
27   -}
  27 +}
2  Acl/Model/MutableAclInterface.php
@@ -169,4 +169,4 @@ function updateObjectAce($index, $mask, $strategy = null);
169 169 * @return void
170 170 */
171 171 function updateObjectFieldAce($index, $field, $mask, $strategy = null);
172   -}
  172 +}
2  Acl/Model/MutableAclProviderInterface.php
@@ -49,4 +49,4 @@ function deleteAcl(ObjectIdentityInterface $oid);
49 49 * @return void
50 50 */
51 51 function updateAcl(MutableAclInterface $acl);
52   -}
  52 +}
2  Acl/Model/ObjectIdentityInterface.php
@@ -46,4 +46,4 @@ function getIdentifier();
46 46 * @return string cannot return null
47 47 */
48 48 function getType();
49   -}
  49 +}
2  Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
@@ -25,4 +25,4 @@
25 25 * @return ObjectIdentityInterface
26 26 */
27 27 function getObjectIdentity($domainObject);
28   -}
  28 +}
2  Acl/Model/PermissionGrantingStrategyInterface.php
@@ -41,4 +41,4 @@ function isGranted(AclInterface $acl, array $masks, array $sids, $administrative
41 41 * @return Boolean
42 42 */
43 43 function isFieldGranted(AclInterface $acl, $field, array $masks, array $sids, $administrativeMode = false);
44   -}
  44 +}
2  Acl/Model/SecurityIdentityInterface.php
@@ -28,4 +28,4 @@
28 28 * @return void
29 29 */
30 30 function equals(SecurityIdentityInterface $identity);
31   -}
  31 +}
2  Acl/Model/SecurityIdentityRetrievalStrategyInterface.php
@@ -31,4 +31,4 @@
31 31 * @return array of SecurityIdentityInterface implementations
32 32 */
33 33 function getSecurityIdentities(TokenInterface $token);
34   -}
  34 +}
2  Acl/Permission/BasicPermissionMap.php
@@ -100,4 +100,4 @@ public function contains($permission)
100 100 {
101 101 return isset($this->map[$permission]);
102 102 }
103   -}
  103 +}
2  Acl/Permission/MaskBuilder.php
@@ -199,4 +199,4 @@ public static function getCode($mask)
199 199
200 200 throw new \InvalidArgumentException(sprintf('The mask "%d" is not supported.', $mask));
201 201 }
202   -}
  202 +}
2  Acl/Permission/PermissionMapInterface.php
@@ -37,4 +37,4 @@ function getMasks($permission, $object);
37 37 * @return Boolean
38 38 */
39 39 function contains($permission);
40   -}
  40 +}
2  Acl/Voter/FieldVote.php
@@ -37,4 +37,4 @@ public function getField()
37 37 {
38 38 return $this->field;
39 39 }
40   -}
  40 +}
2  Core/Authentication/Provider/RememberMeAuthenticationProvider.php
@@ -53,4 +53,4 @@ public function supports(TokenInterface $token)
53 53 {
54 54 return $token instanceof RememberMeToken && $token->getProviderKey() === $this->providerKey;
55 55 }
56   -}
  56 +}
2  Core/Authentication/RememberMe/InMemoryTokenProvider.php
@@ -56,4 +56,4 @@ public function createNewToken(PersistentTokenInterface $token)
56 56 {
57 57 $this->tokens[$token->getSeries()] = $token;
58 58 }
59   -}
  59 +}
2  Core/Authentication/RememberMe/PersistentToken.php
@@ -104,4 +104,4 @@ public function getLastUsed()
104 104 {
105 105 return $this->lastUsed;
106 106 }
107   -}
  107 +}
2  Core/Authentication/RememberMe/PersistentTokenInterface.php
@@ -48,4 +48,4 @@ function getTokenValue();
48 48 * @return \DateTime
49 49 */
50 50 function getLastUsed();
51   -}
  51 +}
2  Core/Authentication/RememberMe/TokenProviderInterface.php
@@ -48,4 +48,4 @@ function updateToken($series, $tokenValue, \DateTime $lastUsed);
48 48 * @param PersistentTokenInterface $token
49 49 */
50 50 function createNewToken(PersistentTokenInterface $token);
51   -}
  51 +}
2  Core/Authentication/Token/RememberMeToken.php
@@ -92,4 +92,4 @@ public function unserialize($serialized)
92 92 list($this->key, $this->providerKey, $parentStr) = unserialize($serialized);
93 93 parent::unserialize($parentStr);
94 94 }
95   -}
  95 +}
2  Core/Encoder/EncoderFactory.php
@@ -66,4 +66,4 @@ private function createEncoder(array $config)
66 66
67 67 return $reflection->newInstanceArgs($config['arguments']);
68 68 }
69   -}
  69 +}
2  Core/Encoder/EncoderFactoryInterface.php
@@ -27,4 +27,4 @@
27 27 * @return PasswordEncoderInterface never null
28 28 */
29 29 function getEncoder(UserInterface $user);
30   -}
  30 +}
2  Core/Exception/CookieTheftException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class CookieTheftException extends AuthenticationException
21 21 {
22   -}
  22 +}
2  Core/Exception/InvalidCsrfTokenException.php
@@ -18,4 +18,4 @@
18 18 */
19 19 class InvalidCsrfTokenException extends AuthenticationException
20 20 {
21   -}
  21 +}
2  Core/Exception/SessionUnavailableException.php
@@ -24,4 +24,4 @@
24 24 */
25 25 class SessionUnavailableException extends AuthenticationException
26 26 {
27   -}
  27 +}
2  Core/Exception/UnsupportedUserException.php
@@ -19,4 +19,4 @@
19 19 */
20 20 class UnsupportedUserException extends AuthenticationServiceException
21 21 {
22   -}
  22 +}
2  Core/SecurityContextInterface.php
@@ -47,4 +47,4 @@ function setToken(TokenInterface $token = null);
47 47 * @return Boolean
48 48 */
49 49 function isGranted($attributes, $object = null);
50   -}
  50 +}
2  Core/User/ChainUserProvider.php
@@ -76,4 +76,4 @@ public function supportsClass($class)
76 76
77 77 return false;
78 78 }
79   -}
  79 +}
2  Core/User/UserProviderInterface.php
@@ -54,4 +54,4 @@ function loadUser(UserInterface $user);
54 54 * @return Boolean
55 55 */
56 56 function supportsClass($class);
57   -}
  57 +}
2  Http/Authentication/AuthenticationFailureHandlerInterface.php
@@ -36,4 +36,4 @@
36 36 * @return Response the response to return
37 37 */
38 38 function onAuthenticationFailure(Request $request, AuthenticationException $exception);
39   -}
  39 +}
2  Http/Authentication/AuthenticationSuccessHandlerInterface.php
@@ -36,4 +36,4 @@
36 36 * @return Response the response to return
37 37 */
38 38 function onAuthenticationSuccess(Request $request, TokenInterface $token);
39   -}
  39 +}
2  Http/Event/InteractiveLoginEvent.php
@@ -36,4 +36,4 @@ public function getAuthenticationToken()
36 36 {
37 37 return $this->authenticationToken;
38 38 }
39   -}
  39 +}
2  Http/Event/SwitchUserEvent.php
@@ -36,4 +36,4 @@ public function getTargetUser()
36 36 {
37 37 return $this->targetUser;
38 38 }
39   -}
  39 +}
2  Http/Firewall/ListenerInterface.php
@@ -27,4 +27,4 @@
27 27 * @param GetResponseEvent $event
28 28 */
29 29 function handle(GetResponseEvent $event);
30   -}
  30 +}
2  Http/Firewall/RememberMeListener.php
@@ -98,4 +98,4 @@ public function handle(GetResponseEvent $event)
98 98 $this->rememberMeServices->loginFail($request);
99 99 }
100 100 }
101   -}
  101 +}
2  Http/Firewall/UsernamePasswordFormAuthenticationListener.php
@@ -77,4 +77,4 @@ protected function attemptAuthentication(Request $request)
77 77
78 78 return $this->authenticationManager->authenticate(new UsernamePasswordToken($username, $password, $this->providerKey));
79 79 }
80   -}
  80 +}
2  Http/FirewallMapInterface.php
@@ -34,4 +34,4 @@
34 34 * @return array of the format array(array(AuthenticationListener), ExceptionListener)
35 35 */
36 36 function getListeners(Request $request);
37   -}
  37 +}
2  Http/Logout/LogoutHandlerInterface.php
@@ -33,4 +33,4 @@
33 33 * @return void
34 34 */
35 35 function logout(Request $request, Response $response, TokenInterface $token);
36   -}
  36 +}
2  Http/Logout/LogoutSuccessHandlerInterface.php
@@ -34,4 +34,4 @@
34 34 * @return Response never null
35 35 */
36 36 function onLogoutSuccess(Request $request);
37   -}
  37 +}
2  Http/Logout/SessionLogoutHandler.php
@@ -34,4 +34,4 @@ public function logout(Request $request, Response $response, TokenInterface $tok
34 34 {
35 35 $request->getSession()->invalidate();
36 36 }
37   -}
  37 +}
2  Http/RememberMe/PersistentTokenBasedRememberMeServices.php
@@ -150,4 +150,4 @@ protected function generateRandomValue()
150 150
151 151 return base64_encode(hash('sha512', uniqid(mt_rand(), true), true));
152 152 }
153   -}
  153 +}
2  Http/RememberMe/RememberMeServicesInterface.php
@@ -80,4 +80,4 @@ function loginFail(Request $request);
80 80 * @return void
81 81 */
82 82 function loginSuccess(Request $request, Response $response, TokenInterface $token);
83   -}
  83 +}
2  Http/SecurityEvents.php
@@ -16,4 +16,4 @@
16 16 const INTERACTIVE_LOGIN = 'security.interactive_login';
17 17
18 18 const SWITCH_USER = 'security.switch_user';
19   -}
  19 +}
2  Http/Session/SessionAuthenticationStrategy.php
@@ -60,4 +60,4 @@ public function onAuthentication(Request $request, TokenInterface $token)
60 60 throw new \RuntimeException(sprintf('Invalid session authentication strategy "%s"', $this->strategy));
61 61 }
62 62 }
63   -}
  63 +}
2  Http/Session/SessionAuthenticationStrategyInterface.php
@@ -36,4 +36,4 @@
36 36 * @return void
37 37 */
38 38 function onAuthentication(Request $request, TokenInterface $token);
39   -}
  39 +}

0 comments on commit 942afaa

Please sign in to comment.
Something went wrong with that request. Please try again.