Skip to content

Commit

Permalink
Merge pull request #282 from parktrip/2.17.x
Browse files Browse the repository at this point in the history
Declare dynamic properties on the OCI8 adapters, to prevent PHP 8.2 deprecation warnings
  • Loading branch information
Ocramius committed Jan 31, 2023
2 parents b0f51d6 + 1963328 commit 9020ba2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/Adapter/Driver/Oci8/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,23 @@

use function is_array;
use function is_string;
use function oci_bind_by_name;
use function oci_error;
use function oci_execute;
use function oci_new_descriptor;
use function oci_parse;
use function oci_statement_type;
use function sprintf;

use const OCI_B_CLOB;
use const OCI_COMMIT_ON_SUCCESS;
use const OCI_DTYPE_LOB;
use const OCI_NO_AUTO_COMMIT;
use const OCI_TEMP_CLOB;
use const SQLT_BIN;
use const SQLT_CHR;
use const SQLT_INT;

class Statement implements StatementInterface, Profiler\ProfilerAwareInterface
{
/** @var resource */
Expand All @@ -35,6 +50,14 @@ class Statement implements StatementInterface, Profiler\ProfilerAwareInterface
/** @var resource */
protected $resource;

/**
* @internal
* @deprecated
*
* @var bool
*/
public $parametersBound;

/**
* Is prepared
*
Expand Down

0 comments on commit 9020ba2

Please sign in to comment.