diff options
| author | wn_ <invalid@email.com> | 2024-12-09 17:58:28 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-12-09 17:58:28 +0000 |
| commit | f6a8facfd4bfc40025c069eebc37094d826aff58 (patch) | |
| tree | 871aab0d8adafe736d954cae1783c260699c0ec3 /vendor/thecodingmachine/safe/deprecated/Exceptions | |
| parent | cd2c10f9f71409df24fc74c1bbd7d5ddbf48d991 (diff) | |
Bump 'spomky-labs/otphp' to 11.3.x.
This is mainly for PHP 8.4 compatibility.
Diffstat (limited to 'vendor/thecodingmachine/safe/deprecated/Exceptions')
6 files changed, 0 insertions, 70 deletions
diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/ApcException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/ApcException.php deleted file mode 100644 index f344490d8..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/ApcException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class ApcException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/LibeventException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/LibeventException.php deleted file mode 100644 index e1df31b77..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/LibeventException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class LibeventException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/MssqlException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/MssqlException.php deleted file mode 100644 index 814bd4e0b..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/MssqlException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class MssqlException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/MysqliException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/MysqliException.php deleted file mode 100644 index 4cadf6ca1..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/MysqliException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class MysqliException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/PasswordException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/PasswordException.php deleted file mode 100644 index 9c183b8e4..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/PasswordException.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -namespace Safe\Exceptions; - -/** - * @deprecated This exception is deprecated - */ -class PasswordException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} diff --git a/vendor/thecodingmachine/safe/deprecated/Exceptions/StatsException.php b/vendor/thecodingmachine/safe/deprecated/Exceptions/StatsException.php deleted file mode 100644 index f8a7f45c2..000000000 --- a/vendor/thecodingmachine/safe/deprecated/Exceptions/StatsException.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -namespace Safe\Exceptions; - -class StatsException extends \ErrorException implements SafeExceptionInterface -{ - public static function createFromPhpError(): self - { - $error = error_get_last(); - return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1); - } -} |