From fcd4c781569d53825059f4da3d803bac4d200d67 Mon Sep 17 00:00:00 2001 From: QuentiumYT Date: Sun, 5 Mar 2023 22:28:34 +0100 Subject: [PATCH 1/2] PHP 8.2 compatibility Dynamic Properties Fix 'Creation of dynamic property is deprecated' --- rainloop/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php | 1 - rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php | 5 +++++ rainloop/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rainloop/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php b/rainloop/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php index 4977868e98..5018254621 100644 --- a/rainloop/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php +++ b/rainloop/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php @@ -2215,7 +2215,6 @@ private function partialParseResponseBranch(&$oImapResponse, else { $iBufferEndIndex = \strlen($this->sResponseBuffer) - 3; - $this->bResponseBufferChanged = false; if ($iPos > $iBufferEndIndex) { diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php index 84df57d0d8..fc13f13ad1 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -130,6 +130,11 @@ class Actions * @var string */ private $sUpdateAuthToken; + + /** + * @var bool + */ + private $bIsAjax; /** * @access private diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php b/rainloop/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php index 00d7517230..516829c96a 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php @@ -79,7 +79,6 @@ public function __construct(\RainLoop\Actions $oActions) $this->aTemplates = array(); $this->aAdminTemplates = array(); - $this->aAjaxFilters = array(); $this->aAdditionalAjax = array(); $this->aProcessTemplate = array(); From 0690de67f2616950cba827127c1fe146946fd99c Mon Sep 17 00:00:00 2001 From: Quentium Date: Tue, 13 Jun 2023 14:56:27 +0200 Subject: [PATCH 2/2] Using tabs instead of spaces for consistency --- rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php index fc13f13ad1..44dcef7a62 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -130,11 +130,11 @@ class Actions * @var string */ private $sUpdateAuthToken; - - /** - * @var bool - */ - private $bIsAjax; + + /** + * @var bool + */ + private $bIsAjax; /** * @access private