Skip to content

Commit 885aa14

Browse files
committed
Add AllowDynamicProperties on OCILob and OCICollection
Fix GH-8756 : oci_new_descriptor() triggers dynamic property deprecation. This fix should be temporary. At some point we should either define those properties or just hide them since they should probably not be used. Better fix is here : #8758 but waiting feedback from Oracle team before going ahead.
1 parent c8f9555 commit 885aa14

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ext/oci8/oci8.stub.php

+2
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ function oci_register_taf_callback($connection, ?callable $callback): bool {}
560560
/** @param resource $connection */
561561
function oci_unregister_taf_callback($connection): bool {}
562562

563+
#[AllowDynamicProperties]
563564
class OCILob {
564565
/**
565566
* @alias oci_lob_save
@@ -688,6 +689,7 @@ public function close(): bool {}
688689
public function free(): bool {}
689690
}
690691

692+
#[AllowDynamicProperties]
691693
class OCICollection {
692694
/**
693695
* @alias oci_free_collection

ext/oci8/oci8_arginfo.h

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)