diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-18 00:08:23 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-18 00:10:03 +0200 |
| commit | 05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch) | |
| tree | cf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/dbal/src/Driver/OCI8/Exception | |
| parent | 32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff) | |
| download | AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2 AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip | |
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/OCI8/Exception')
5 files changed, 0 insertions, 124 deletions
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/ConnectionFailed.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/ConnectionFailed.php deleted file mode 100644 index cefe9a3..0000000 --- a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/ConnectionFailed.php +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | use function assert; | ||
| 10 | use function oci_error; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @internal | ||
| 14 | * | ||
| 15 | * @psalm-immutable | ||
| 16 | */ | ||
| 17 | final class ConnectionFailed extends AbstractException | ||
| 18 | { | ||
| 19 | public static function new(): self | ||
| 20 | { | ||
| 21 | $error = oci_error(); | ||
| 22 | assert($error !== false); | ||
| 23 | |||
| 24 | return new self($error['message'], null, $error['code']); | ||
| 25 | } | ||
| 26 | } | ||
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/Error.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/Error.php deleted file mode 100644 index 6abdf23..0000000 --- a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/Error.php +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | use function assert; | ||
| 10 | use function oci_error; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @internal | ||
| 14 | * | ||
| 15 | * @psalm-immutable | ||
| 16 | */ | ||
| 17 | final class Error extends AbstractException | ||
| 18 | { | ||
| 19 | /** @param resource $resource */ | ||
| 20 | public static function new($resource): self | ||
| 21 | { | ||
| 22 | $error = oci_error($resource); | ||
| 23 | assert($error !== false); | ||
| 24 | |||
| 25 | return new self($error['message'], null, $error['code']); | ||
| 26 | } | ||
| 27 | } | ||
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php deleted file mode 100644 index e9d2d0e..0000000 --- a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | /** | ||
| 10 | * @internal | ||
| 11 | * | ||
| 12 | * @psalm-immutable | ||
| 13 | */ | ||
| 14 | final class InvalidConfiguration extends AbstractException | ||
| 15 | { | ||
| 16 | public static function forPersistentAndExclusive(): self | ||
| 17 | { | ||
| 18 | return new self('The "persistent" parameter and the "exclusive" driver option are mutually exclusive'); | ||
| 19 | } | ||
| 20 | } | ||
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/NonTerminatedStringLiteral.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/NonTerminatedStringLiteral.php deleted file mode 100644 index 776728f..0000000 --- a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/NonTerminatedStringLiteral.php +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | use function sprintf; | ||
| 10 | |||
| 11 | /** | ||
| 12 | * @internal | ||
| 13 | * | ||
| 14 | * @psalm-immutable | ||
| 15 | */ | ||
| 16 | final class NonTerminatedStringLiteral extends AbstractException | ||
| 17 | { | ||
| 18 | public static function new(int $offset): self | ||
| 19 | { | ||
| 20 | return new self( | ||
| 21 | sprintf( | ||
| 22 | 'The statement contains non-terminated string literal starting at offset %d.', | ||
| 23 | $offset, | ||
| 24 | ), | ||
| 25 | ); | ||
| 26 | } | ||
| 27 | } | ||
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/UnknownParameterIndex.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/UnknownParameterIndex.php deleted file mode 100644 index 2cd3fe7..0000000 --- a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/UnknownParameterIndex.php +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\AbstractException; | ||
| 8 | |||
| 9 | use function sprintf; | ||
| 10 | |||
| 11 | /** | ||
| 12 | * @internal | ||
| 13 | * | ||
| 14 | * @psalm-immutable | ||
| 15 | */ | ||
| 16 | final class UnknownParameterIndex extends AbstractException | ||
| 17 | { | ||
| 18 | public static function new(int $index): self | ||
| 19 | { | ||
| 20 | return new self( | ||
| 21 | sprintf('Could not find variable mapping with index %d, in the SQL statement', $index), | ||
| 22 | ); | ||
| 23 | } | ||
| 24 | } | ||
