summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Driver/OCI8/Exception
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-18 00:08:23 +0200
committerpolo <ordipolo@gmx.fr>2026-10-18 00:10:03 +0200
commit05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch)
treecf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/dbal/src/Driver/OCI8/Exception
parent32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff)
downloadAppliGestionPHP-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')
-rw-r--r--vendor/doctrine/dbal/src/Driver/OCI8/Exception/ConnectionFailed.php26
-rw-r--r--vendor/doctrine/dbal/src/Driver/OCI8/Exception/Error.php27
-rw-r--r--vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php20
-rw-r--r--vendor/doctrine/dbal/src/Driver/OCI8/Exception/NonTerminatedStringLiteral.php27
-rw-r--r--vendor/doctrine/dbal/src/Driver/OCI8/Exception/UnknownParameterIndex.php24
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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\OCI8\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8
9use function assert;
10use function oci_error;
11
12/**
13 * @internal
14 *
15 * @psalm-immutable
16 */
17final 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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\OCI8\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8
9use function assert;
10use function oci_error;
11
12/**
13 * @internal
14 *
15 * @psalm-immutable
16 */
17final 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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\OCI8\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8
9/**
10 * @internal
11 *
12 * @psalm-immutable
13 */
14final 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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\OCI8\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8
9use function sprintf;
10
11/**
12 * @internal
13 *
14 * @psalm-immutable
15 */
16final 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
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Driver\OCI8\Exception;
6
7use Doctrine\DBAL\Driver\AbstractException;
8
9use function sprintf;
10
11/**
12 * @internal
13 *
14 * @psalm-immutable
15 */
16final 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}