Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64518fb

Browse files
committed
The Security Component's exceptions should implements Security's ExceptionInterface
1 parent 1e90ddd commit 64518fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/Security/Core/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;

src/Symfony/Component/Security/Core/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

src/Symfony/Component/Security/Core/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)