From f6a8facfd4bfc40025c069eebc37094d826aff58 Mon Sep 17 00:00:00 2001 From: wn_ Date: Mon, 9 Dec 2024 17:58:28 +0000 Subject: Bump 'spomky-labs/otphp' to 11.3.x. This is mainly for PHP 8.4 compatibility. --- .../safe/lib/Exceptions/CurlException.php | 15 --------------- .../safe/lib/Exceptions/JsonException.php | 12 ------------ .../safe/lib/Exceptions/OpensslException.php | 12 ------------ .../safe/lib/Exceptions/PcreException.php | 21 --------------------- .../safe/lib/Exceptions/SafeExceptionInterface.php | 9 --------- .../safe/lib/Exceptions/SimplexmlException.php | 11 ----------- 6 files changed, 80 deletions(-) delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/JsonException.php delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/PcreException.php delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/SafeExceptionInterface.php delete mode 100644 vendor/thecodingmachine/safe/lib/Exceptions/SimplexmlException.php (limited to 'vendor/thecodingmachine/safe/lib/Exceptions') diff --git a/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php b/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php deleted file mode 100644 index 3401b57b8..000000000 --- a/vendor/thecodingmachine/safe/lib/Exceptions/CurlException.php +++ /dev/null @@ -1,15 +0,0 @@ - 'PREG_INTERNAL_ERROR: Internal error', - PREG_BACKTRACK_LIMIT_ERROR => 'PREG_BACKTRACK_LIMIT_ERROR: Backtrack limit reached', - PREG_RECURSION_LIMIT_ERROR => 'PREG_RECURSION_LIMIT_ERROR: Recursion limit reached', - PREG_BAD_UTF8_ERROR => 'PREG_BAD_UTF8_ERROR: Invalid UTF8 character', - PREG_BAD_UTF8_OFFSET_ERROR => 'PREG_BAD_UTF8_OFFSET_ERROR', - PREG_JIT_STACKLIMIT_ERROR => 'PREG_JIT_STACKLIMIT_ERROR', - ]; - $errMsg = $errorMap[preg_last_error()] ?? 'Unknown PCRE error: '.preg_last_error(); - return new self($errMsg, \preg_last_error()); - } -} diff --git a/vendor/thecodingmachine/safe/lib/Exceptions/SafeExceptionInterface.php b/vendor/thecodingmachine/safe/lib/Exceptions/SafeExceptionInterface.php deleted file mode 100644 index fbea6ad25..000000000 --- a/vendor/thecodingmachine/safe/lib/Exceptions/SafeExceptionInterface.php +++ /dev/null @@ -1,9 +0,0 @@ -