Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 5ccfeae

Browse files
committed
fixes CS
1 parent 3d137c7 commit 5ccfeae

25 files changed

+40
-26
lines changed

Acl/Dbal/MutableAclProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function deleteAcl(ObjectIdentityInterface $oid)
111111

112112
/**
113113
* Deletes the security identity from the database.
114-
* ACL entries have the CASCADE option on their foreign key so they will also get deleted
114+
* ACL entries have the CASCADE option on their foreign key so they will also get deleted.
115115
*
116116
* @param SecurityIdentityInterface $sid
117117
*
@@ -366,7 +366,7 @@ public function updateAcl(MutableAclInterface $acl)
366366
}
367367

368368
/**
369-
* Updates a user security identity when the user's username changes
369+
* Updates a user security identity when the user's username changes.
370370
*
371371
* @param UserSecurityIdentity $usid
372372
* @param string $oldUsername

Acl/Permission/AbstractMaskBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Acl\Permission;
1313

1414
/**
15-
* This abstract class implements nearly all the MaskBuilderInterface methods
15+
* This abstract class implements nearly all the MaskBuilderInterface methods.
1616
*/
1717
abstract class AbstractMaskBuilder implements MaskBuilderInterface
1818
{

Acl/Permission/MaskBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public static function getCode($mask)
124124
}
125125

126126
/**
127-
* Returns the mask for the passed code
127+
* Returns the mask for the passed code.
128128
*
129129
* @param mixed $code
130130
*

Acl/Permission/MaskBuilderInterface.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
interface MaskBuilderInterface
1818
{
1919
/**
20-
* Set the mask of this permission
20+
* Set the mask of this permission.
2121
*
2222
* @param int $mask
2323
*
2424
* @return MaskBuilderInterface
25+
*
2526
* @throws \InvalidArgumentException if $mask is not an integer
2627
*/
2728
public function set($mask);
@@ -63,7 +64,7 @@ public function remove($mask);
6364
public function reset();
6465

6566
/**
66-
* Returns the mask for the passed code
67+
* Returns the mask for the passed code.
6768
*
6869
* @param mixed $code
6970
*

Acl/Permission/MaskBuilderRetrievalInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
namespace Symfony\Component\Security\Acl\Permission;
1313

1414
/**
15-
* Retrieves the MaskBuilder
15+
* Retrieves the MaskBuilder.
1616
*/
1717
interface MaskBuilderRetrievalInterface
1818
{
1919
/**
20-
* Returns a new instance of the MaskBuilder used in the permissionMap
20+
* Returns a new instance of the MaskBuilder used in the permissionMap.
2121
*
2222
* @return MaskBuilderInterface
2323
*/

Core/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
*

Core/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 <inoryy@gmail.com>
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

Core/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 <arielferrandini@gmail.com>
2020
*/

Core/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

Core/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 <fabien@symfony.com>
3030
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
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

0 commit comments

Comments
 (0)