From b627962e638ad9901e76fd445fe5dac0fe1201a2 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Wed, 24 Mar 2021 21:49:53 -0700 Subject: [PATCH] Fix oci8 stubs for PHP 8 (#5478) --- dictionaries/CallMap.php | 68 ++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index d1d64a2a2..80bfc819a 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -9100,14 +9100,14 @@ return [ 'oci_cancel' => ['bool', 'statement'=>'resource'], 'oci_client_version' => ['string'], 'oci_close' => ['bool', 'connection'=>'resource'], -'OCI_Collection::append' => ['bool', 'value'=>'mixed'], -'OCI_Collection::assign' => ['bool', 'from'=>'OCI_Collection'], -'OCI_Collection::assignElem' => ['bool', 'index'=>'int', 'value'=>'mixed'], -'OCI_Collection::free' => ['bool'], -'OCI_Collection::getElem' => ['mixed', 'index'=>'int'], -'OCI_Collection::max' => ['int|false'], -'OCI_Collection::size' => ['int|false'], -'OCI_Collection::trim' => ['bool', 'num'=>'int'], +'OCICollection::append' => ['bool', 'value'=>'mixed'], +'OCICollection::assign' => ['bool', 'from'=>'OCI_Collection'], +'OCICollection::assignElem' => ['bool', 'index'=>'int', 'value'=>'mixed'], +'OCICollection::free' => ['bool'], +'OCICollection::getElem' => ['mixed', 'index'=>'int'], +'OCICollection::max' => ['int|false'], +'OCICollection::size' => ['int|false'], +'OCICollection::trim' => ['bool', 'num'=>'int'], 'oci_collection_append' => ['bool', 'collection'=>'string'], 'oci_collection_assign' => ['bool', 'to'=>'object'], 'oci_collection_element_assign' => ['bool', 'collection'=>'int', 'index'=>'string'], @@ -9140,37 +9140,37 @@ return [ 'oci_get_implicit' => ['bool', 'stmt'=>''], 'oci_get_implicit_resultset' => ['resource|false', 'statement'=>'resource'], 'oci_internal_debug' => ['void', 'onoff'=>'bool'], -'OCI_Lob::append' => ['bool', 'lob_from'=>'OCI_Lob'], -'OCI_Lob::close' => ['bool'], -'OCI_Lob::eof' => ['bool'], -'OCI_Lob::erase' => ['int|false', 'offset='=>'int', 'length='=>'int'], -'OCI_Lob::export' => ['bool', 'filename'=>'string', 'start='=>'int', 'length='=>'int'], -'OCI_Lob::flush' => ['bool', 'flag='=>'int'], -'OCI_Lob::free' => ['bool'], -'OCI_Lob::getbuffering' => ['bool'], -'OCI_Lob::import' => ['bool', 'filename'=>'string'], -'OCI_Lob::load' => ['string|false'], -'OCI_Lob::read' => ['string|false', 'length'=>'int'], -'OCI_Lob::rewind' => ['bool'], -'OCI_Lob::save' => ['bool', 'data'=>'string', 'offset='=>'int'], -'OCI_Lob::savefile' => ['bool', 'filename'=>''], -'OCI_Lob::seek' => ['bool', 'offset'=>'int', 'whence='=>'int'], -'OCI_Lob::setbuffering' => ['bool', 'on_off'=>'bool'], -'OCI_Lob::size' => ['int|false'], -'OCI_Lob::tell' => ['int|false'], -'OCI_Lob::truncate' => ['bool', 'length='=>'int'], -'OCI_Lob::write' => ['int|false', 'data'=>'string', 'length='=>'int'], -'OCI_Lob::writeTemporary' => ['bool', 'data'=>'string', 'lob_type='=>'int'], -'OCI_Lob::writetofile' => ['bool', 'filename'=>'', 'start'=>'', 'length'=>''], +'OCILob::append' => ['bool', 'lob_from'=>'OCILob'], +'OCILob::close' => ['bool'], +'OCILob::eof' => ['bool'], +'OCILob::erase' => ['int|false', 'offset='=>'int', 'length='=>'int'], +'OCILob::export' => ['bool', 'filename'=>'string', 'start='=>'int', 'length='=>'int'], +'OCILob::flush' => ['bool', 'flag='=>'int'], +'OCILob::free' => ['bool'], +'OCILob::getbuffering' => ['bool'], +'OCILob::import' => ['bool', 'filename'=>'string'], +'OCILob::load' => ['string|false'], +'OCILob::read' => ['string|false', 'length'=>'int'], +'OCILob::rewind' => ['bool'], +'OCILob::save' => ['bool', 'data'=>'string', 'offset='=>'int'], +'OCILob::savefile' => ['bool', 'filename'=>''], +'OCILob::seek' => ['bool', 'offset'=>'int', 'whence='=>'int'], +'OCILob::setbuffering' => ['bool', 'on_off'=>'bool'], +'OCILob::size' => ['int|false'], +'OCILob::tell' => ['int|false'], +'OCILob::truncate' => ['bool', 'length='=>'int'], +'OCILob::write' => ['int|false', 'data'=>'string', 'length='=>'int'], +'OCILob::writeTemporary' => ['bool', 'data'=>'string', 'lob_type='=>'int'], +'OCILob::writetofile' => ['bool', 'filename'=>'', 'start'=>'', 'length'=>''], 'oci_lob_append' => ['bool', 'to'=>'object'], 'oci_lob_close' => ['bool'], -'oci_lob_copy' => ['bool', 'to'=>'OCI_Lob', 'from'=>'OCI_Lob', 'length='=>'int'], +'oci_lob_copy' => ['bool', 'to'=>'OCILob', 'from'=>'OCILob', 'length='=>'int'], 'oci_lob_eof' => ['bool'], 'oci_lob_erase' => ['int', 'lob'=>'int', 'offset'=>'int'], 'oci_lob_export' => ['bool', 'lob'=>'string', 'filename'=>'int', 'offset'=>'int'], 'oci_lob_flush' => ['bool', 'lob'=>'int'], 'oci_lob_import' => ['bool', 'lob'=>'string'], -'oci_lob_is_equal' => ['bool', 'lob1'=>'OCI_Lob', 'lob2'=>'OCI_Lob'], +'oci_lob_is_equal' => ['bool', 'lob1'=>'OCILob', 'lob2'=>'OCILob'], 'oci_lob_load' => ['string'], 'oci_lob_read' => ['string', 'lob'=>'int'], 'oci_lob_rewind' => ['bool'], @@ -9181,10 +9181,10 @@ return [ 'oci_lob_truncate' => ['bool', 'lob'=>'int'], 'oci_lob_write' => ['int', 'lob'=>'string', 'data'=>'int'], 'oci_lob_write_temporary' => ['bool', 'value'=>'string', 'lob_type'=>'int'], -'oci_new_collection' => ['OCI_Collection|false', 'connection'=>'resource', 'type_name'=>'string', 'schema='=>'string'], +'oci_new_collection' => ['OCICollection|false', 'connection'=>'resource', 'type_name'=>'string', 'schema='=>'string'], 'oci_new_connect' => ['resource|false', 'username'=>'string', 'password'=>'string', 'connection_string='=>'string', 'encoding='=>'string', 'session_mode='=>'int'], 'oci_new_cursor' => ['resource|false', 'connection'=>'resource'], -'oci_new_descriptor' => ['OCI_Lob|false', 'connection'=>'resource', 'type='=>'int'], +'oci_new_descriptor' => ['OCILob|false', 'connection'=>'resource', 'type='=>'int'], 'oci_num_fields' => ['int|false', 'statement'=>'resource'], 'oci_num_rows' => ['int|false', 'statement'=>'resource'], 'oci_parse' => ['resource|false', 'connection'=>'resource', 'sql'=>'string'],