Skip to content

Commit fe67840

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fixes CS
2 parents 10965e0 + ce2efd5 commit fe67840

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

Authentication/Token/Storage/TokenStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1515

1616
/**
17-
* TokenStorage contains a TokenInterface
17+
* TokenStorage contains a TokenInterface.
1818
*
1919
* It gives access to the token representing the current user authentication.
2020
*

Authorization/Voter/AbstractVoter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1616

1717
/**
18-
* Abstract Voter implementation that reduces boilerplate code required to create a custom Voter
18+
* Abstract Voter implementation that reduces boilerplate code required to create a custom Voter.
1919
*
2020
* @author Roman Marintšenko <[email protected]>
2121
*/
@@ -44,7 +44,7 @@ public function supportsClass($class)
4444
}
4545

4646
/**
47-
* Iteratively check all given attributes by calling isGranted
47+
* Iteratively check all given attributes by calling isGranted.
4848
*
4949
* This method terminates as soon as it is able to return ACCESS_GRANTED
5050
* If at least one attribute is supported, but access not granted, then ACCESS_DENIED is returned
@@ -83,14 +83,14 @@ public function vote(TokenInterface $token, $object, array $attributes)
8383
}
8484

8585
/**
86-
* Return an array of supported classes. This will be called by supportsClass
86+
* Return an array of supported classes. This will be called by supportsClass.
8787
*
8888
* @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product')
8989
*/
9090
abstract protected function getSupportedClasses();
9191

9292
/**
93-
* Return an array of supported attributes. This will be called by supportsAttribute
93+
* Return an array of supported attributes. This will be called by supportsAttribute.
9494
*
9595
* @return array an array of supported attributes, i.e. array('CREATE', 'READ')
9696
*/
@@ -101,7 +101,7 @@ abstract protected function getSupportedAttributes();
101101
* It is safe to assume that $attribute and $object's class pass supportsAttribute/supportsClass
102102
* $user can be one of the following:
103103
* a UserInterface object (fully authenticated user)
104-
* a string (anonymously authenticated user)
104+
* a string (anonymously authenticated user).
105105
*
106106
* @param string $attribute
107107
* @param object $object

Encoder/UserPasswordEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Security\Core\User\UserInterface;
1515

1616
/**
17-
* A generic password encoder
17+
* A generic password encoder.
1818
*
1919
* @author Ariel Ferrandini <[email protected]>
2020
*/

Encoder/UserPasswordEncoderInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
interface UserPasswordEncoderInterface
2222
{
2323
/**
24-
*
2524
* Encodes the plain password.
2625
*
2726
* @param UserInterface $user The user

SecurityContext.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
*
2929
* @author Fabien Potencier <[email protected]>
3030
* @author Johannes M. Schmitt <[email protected]>
31+
*
3132
* @deprecated since version 2.6, to be removed in 3.0.
3233
*/
3334
class SecurityContext implements SecurityContextInterface
@@ -43,7 +44,7 @@ class SecurityContext implements SecurityContextInterface
4344
private $authorizationChecker;
4445

4546
/**
46-
* For backwards compatibility, the signature of sf <2.6 still works
47+
* For backwards compatibility, the signature of sf <2.6 still works.
4748
*
4849
* @param TokenStorageInterface|AuthenticationManagerInterface $tokenStorage
4950
* @param AuthorizationCheckerInterface|AccessDecisionManagerInterface $authorizationChecker

SecurityContextInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* The SecurityContextInterface.
2121
*
2222
* @author Johannes M. Schmitt <[email protected]>
23+
*
2324
* @deprecated since version 2.6, to be removed in 3.0.
2425
*/
2526
interface SecurityContextInterface extends TokenStorageInterface, AuthorizationCheckerInterface

Tests/LegacySecurityContextTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function isGrantedDelegationProvider()
8181
}
8282

8383
/**
84-
* Test dedicated to check if the backwards compatibility is still working
84+
* Test dedicated to check if the backwards compatibility is still working.
8585
*/
8686
public function testOldConstructorSignature()
8787
{

Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
/**
1717
* @since 2.5.4
18+
*
1819
* @author Bernhard Schussek <[email protected]>
1920
* @group legacy
2021
*/

0 commit comments

Comments
 (0)