Skip to content

Commit c1dc41f

Browse files
committed
feature #25772 [Security] The AuthenticationException should implements Security's ExceptionInterface (sroze)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Security] The AuthenticationException should implements Security's ExceptionInterface | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #25770 | License | MIT | Doc PR | ø Dunno why this is the case right now but this probably should not. Was reported by @paq85. Commits ------- 0ee4cf1019 The Security Component's exceptions should implements Security's ExceptionInterface
2 parents 1f64e30 + 561197b commit c1dc41f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Exception/AccessDeniedException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @author Fabien Potencier <[email protected]>
1818
*/
19-
class AccessDeniedException extends \RuntimeException
19+
class AccessDeniedException extends RuntimeException
2020
{
2121
private $attributes = array();
2222
private $subject;

Exception/AuthenticationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @author Fabien Potencier <[email protected]>
2020
* @author Alexander <[email protected]>
2121
*/
22-
class AuthenticationException extends \RuntimeException implements \Serializable
22+
class AuthenticationException extends RuntimeException implements \Serializable
2323
{
2424
private $token;
2525

Exception/LogoutException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @author Jeremy Mikola <[email protected]>
1818
*/
19-
class LogoutException extends \RuntimeException
19+
class LogoutException extends RuntimeException
2020
{
2121
public function __construct(string $message = 'Logout Exception', \Exception $previous = null)
2222
{

0 commit comments

Comments
 (0)