aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/Exception
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-08 12:24:19 +0000
committerMario <mario@mariovavti.com>2021-10-08 12:24:19 +0000
commite6dac085cb1d601da1fc63bfd59d811612fa6ef4 (patch)
treef5b704b613c9c8d347857b4e7f8dd0b19cdd7df3 /vendor/ramsey/uuid/src/Exception
parentf5f357060bf0ebcb0b8352519375953d993437e7 (diff)
downloadvolse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.gz
volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.bz2
volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.zip
update composer libs
Diffstat (limited to 'vendor/ramsey/uuid/src/Exception')
-rw-r--r--vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/DateTimeException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/DceSecurityException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/InvalidBytesException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/NameException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/NodeException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/RandomSourceException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/TimeSourceException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php2
-rw-r--r--vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php21
13 files changed, 33 insertions, 12 deletions
diff --git a/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php b/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
index c0854d256..220ffedb8 100644
--- a/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
+++ b/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that no suitable builder could be found
*/
-class BuilderNotFoundException extends PhpRuntimeException
+class BuilderNotFoundException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/DateTimeException.php b/vendor/ramsey/uuid/src/Exception/DateTimeException.php
index dbc484045..5f0e658bf 100644
--- a/vendor/ramsey/uuid/src/Exception/DateTimeException.php
+++ b/vendor/ramsey/uuid/src/Exception/DateTimeException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that the PHP DateTime extension encountered an exception/error
*/
-class DateTimeException extends PhpRuntimeException
+class DateTimeException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/DceSecurityException.php b/vendor/ramsey/uuid/src/Exception/DceSecurityException.php
index a65f80cd4..e6d800136 100644
--- a/vendor/ramsey/uuid/src/Exception/DceSecurityException.php
+++ b/vendor/ramsey/uuid/src/Exception/DceSecurityException.php
@@ -20,6 +20,6 @@ use RuntimeException as PhpRuntimeException;
* Thrown to indicate an exception occurred while dealing with DCE Security
* (version 2) UUIDs
*/
-class DceSecurityException extends PhpRuntimeException
+class DceSecurityException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php b/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
index 08bbb8029..2a1fa3ac2 100644
--- a/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
+++ b/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
@@ -19,6 +19,6 @@ use InvalidArgumentException as PhpInvalidArgumentException;
/**
* Thrown to indicate that the argument received is not valid
*/
-class InvalidArgumentException extends PhpInvalidArgumentException
+class InvalidArgumentException extends PhpInvalidArgumentException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php b/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
index b20be3de0..1c94f6596 100644
--- a/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
+++ b/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that the bytes being operated on are invalid in some way
*/
-class InvalidBytesException extends PhpRuntimeException
+class InvalidBytesException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php b/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
index 24f42c643..6d9758166 100644
--- a/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
+++ b/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
@@ -20,6 +20,6 @@ namespace Ramsey\Uuid\Exception;
* The InvalidArgumentException that this extends is the ramsey/uuid version
* of this exception. It exists in the same namespace as this class.
*/
-class InvalidUuidStringException extends InvalidArgumentException
+class InvalidUuidStringException extends InvalidArgumentException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/NameException.php b/vendor/ramsey/uuid/src/Exception/NameException.php
index 54d32ec38..fd96a1faf 100644
--- a/vendor/ramsey/uuid/src/Exception/NameException.php
+++ b/vendor/ramsey/uuid/src/Exception/NameException.php
@@ -20,6 +20,6 @@ use RuntimeException as PhpRuntimeException;
* Thrown to indicate that an error occurred while attempting to hash a
* namespace and name
*/
-class NameException extends PhpRuntimeException
+class NameException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/NodeException.php b/vendor/ramsey/uuid/src/Exception/NodeException.php
index 21b6d1804..0dbdd50b4 100644
--- a/vendor/ramsey/uuid/src/Exception/NodeException.php
+++ b/vendor/ramsey/uuid/src/Exception/NodeException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that attempting to fetch or create a node ID encountered an error
*/
-class NodeException extends PhpRuntimeException
+class NodeException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/RandomSourceException.php b/vendor/ramsey/uuid/src/Exception/RandomSourceException.php
index 0c3e4f523..a44dd34a2 100644
--- a/vendor/ramsey/uuid/src/Exception/RandomSourceException.php
+++ b/vendor/ramsey/uuid/src/Exception/RandomSourceException.php
@@ -22,6 +22,6 @@ use RuntimeException as PhpRuntimeException;
* This exception is used mostly to indicate that random_bytes() or random_int()
* threw an exception. However, it may be used for other sources of random data.
*/
-class RandomSourceException extends PhpRuntimeException
+class RandomSourceException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/TimeSourceException.php b/vendor/ramsey/uuid/src/Exception/TimeSourceException.php
index accd37f87..fc9cf36b6 100644
--- a/vendor/ramsey/uuid/src/Exception/TimeSourceException.php
+++ b/vendor/ramsey/uuid/src/Exception/TimeSourceException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that the source of time encountered an error
*/
-class TimeSourceException extends PhpRuntimeException
+class TimeSourceException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php b/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
index da9649035..5ba26d8dc 100644
--- a/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
+++ b/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate a builder is unable to build a UUID
*/
-class UnableToBuildUuidException extends PhpRuntimeException
+class UnableToBuildUuidException extends PhpRuntimeException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php b/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
index e6391b03d..e1b3eda17 100644
--- a/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
+++ b/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
@@ -19,6 +19,6 @@ use LogicException as PhpLogicException;
/**
* Thrown to indicate that the requested operation is not supported
*/
-class UnsupportedOperationException extends PhpLogicException
+class UnsupportedOperationException extends PhpLogicException implements UuidExceptionInterface
{
}
diff --git a/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php b/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php
new file mode 100644
index 000000000..a2f1c103b
--- /dev/null
+++ b/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * This file is part of the ramsey/uuid library
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com>
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+
+declare(strict_types=1);
+
+namespace Ramsey\Uuid\Exception;
+
+use Throwable;
+
+interface UuidExceptionInterface extends Throwable
+{
+}