MDL-73405 libraries: php80 compatibility fix to Horde Imap Client

The fix is already available upstream for versions 2.30.4 and up
See https://github.com/horde/Imap_Client/pull/13
This commit is contained in:
Eloy Lafuente (stronk7)
2021-12-19 12:26:53 +01:00
parent d02364e83b
commit e14c046a17
2 changed files with 8 additions and 3 deletions
@@ -44,14 +44,14 @@ class Horde_Imap_Client_Exception_ServerResponse extends Horde_Imap_Client_Excep
/**
* Constructor.
*
* @param string $msg Error message.
* @param string|null $msg Error message.
* @param integer $code Error code.
* @param Horde_Imap_Client_Interaction_Server $server Server ob.
* @param Horde_Imap_Client_Interaction_Pipeline $pipeline Pipeline ob.
*/
public function __construct(
$msg = null,
$code = 0,
$msg,
$code,
Horde_Imap_Client_Interaction_Server $server,
Horde_Imap_Client_Interaction_Pipeline $pipeline
)
+5
View File
@@ -36,3 +36,8 @@ do
cp -Rf $locale/* $target/locale
fi
done
Local modifications:
- lib/Horde/Imap/Client/Exception/ServerResponse.php has been minimally modified for php80 compatibility
The fix applied is already upstream, see https://github.com/horde/Imap_Client/pull/13 and it's available
in Imap_Client 2.30.4 and up. See MDL-73405 for more details.