Skip to content

Commit 9020ba2

Browse files
authored
Merge pull request laminas#282 from parktrip/2.17.x
Declare dynamic properties on the OCI8 adapters, to prevent PHP 8.2 deprecation warnings
2 parents b0f51d6 + 1963328 commit 9020ba2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/Adapter/Driver/Oci8/Statement.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,23 @@
99

1010
use function is_array;
1111
use function is_string;
12+
use function oci_bind_by_name;
13+
use function oci_error;
14+
use function oci_execute;
15+
use function oci_new_descriptor;
16+
use function oci_parse;
17+
use function oci_statement_type;
1218
use function sprintf;
1319

20+
use const OCI_B_CLOB;
21+
use const OCI_COMMIT_ON_SUCCESS;
22+
use const OCI_DTYPE_LOB;
23+
use const OCI_NO_AUTO_COMMIT;
24+
use const OCI_TEMP_CLOB;
25+
use const SQLT_BIN;
26+
use const SQLT_CHR;
27+
use const SQLT_INT;
28+
1429
class Statement implements StatementInterface, Profiler\ProfilerAwareInterface
1530
{
1631
/** @var resource */
@@ -35,6 +50,14 @@ class Statement implements StatementInterface, Profiler\ProfilerAwareInterface
3550
/** @var resource */
3651
protected $resource;
3752

53+
/**
54+
* @internal
55+
* @deprecated
56+
*
57+
* @var bool
58+
*/
59+
public $parametersBound;
60+
3861
/**
3962
* Is prepared
4063
*

0 commit comments

Comments
 (0)