Skip to content

Commit

Permalink
Merge pull request #1014 from BGSU-LITS/deprec-dynamic-props
Browse files Browse the repository at this point in the history
Fix PHP 8.2 deprecation warnings for dynamic properties.
  • Loading branch information
zerocrates committed Dec 4, 2023
2 parents 6927f22 + 9694bda commit f1449cb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions application/libraries/Omeka/File/Ingest/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
*/
class Omeka_File_Ingest_Url extends Omeka_File_Ingest_AbstractSourceIngest
{
/**
* HTTP client.
*
* Set by the _getHttpClient method.
*
* @var Zend_Http_Client
*/
protected $_client = null;

/**
* Return the original filename.
*
Expand Down
9 changes: 9 additions & 0 deletions application/libraries/Zend/Http/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,15 @@ class Zend_Http_Client
*/
protected $redirectCounter = 0;

/**
* Name of temporary stream
*
* Set by _openTempStream and used by the request method
*
* @var string
*/
protected $_stream_name = null;

/**
* Status for unmasking GET array params
*
Expand Down

0 comments on commit f1449cb

Please sign in to comment.