From 541d399f707706554a185d8ab7345bb672df85a2 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 18 Apr 2023 10:51:15 +0900 Subject: [PATCH] fix: incorrect base class for exceptions All exceptions by Shield should implement BaseException. --- src/Exceptions/SecurityException.php | 2 -- src/Exceptions/ValidationException.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Exceptions/SecurityException.php b/src/Exceptions/SecurityException.php index b0646c057..c72d7aa04 100644 --- a/src/Exceptions/SecurityException.php +++ b/src/Exceptions/SecurityException.php @@ -4,8 +4,6 @@ namespace CodeIgniter\Shield\Exceptions; -use RuntimeException; - class SecurityException extends RuntimeException { } diff --git a/src/Exceptions/ValidationException.php b/src/Exceptions/ValidationException.php index 9b6d51d52..3aae180ef 100644 --- a/src/Exceptions/ValidationException.php +++ b/src/Exceptions/ValidationException.php @@ -4,8 +4,6 @@ namespace CodeIgniter\Shield\Exceptions; -use RuntimeException; - class ValidationException extends RuntimeException { }