From f4d9e27b0167ac57033e80a0a0e2fe2a0a94c1ff Mon Sep 17 00:00:00 2001 From: Lainow Date: Thu, 7 May 2026 12:02:38 +0200 Subject: [PATCH 1/4] Fix creation of dynamic property table is deprecated --- inc/referenceinjection.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/referenceinjection.class.php b/inc/referenceinjection.class.php index 751996e13d..e9067ff9b2 100644 --- a/inc/referenceinjection.class.php +++ b/inc/referenceinjection.class.php @@ -34,6 +34,8 @@ class PluginOrderReferenceInjection extends PluginOrderReference implements PluginDatainjectionInjectionInterface { + protected $table; + public function __construct() { $this->table = getTableForItemType(get_parent_class($this)); From 92d997890f465c604de2f88068334de1cde5dea7 Mon Sep 17 00:00:00 2001 From: Lainow Date: Thu, 7 May 2026 12:03:55 +0200 Subject: [PATCH 2/4] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac6878d77c..133b1dd8c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [unreleased] + +### Fixed + +- Fix warning : `creation of dynamic property $table is deprecated` + ## [2.11.5] - 2026-03-24 ### Fixed From ffccb7d7fdb03348b5924e4c65d55c79b4c6feaa Mon Sep 17 00:00:00 2001 From: Lainow Date: Thu, 7 May 2026 15:14:40 +0200 Subject: [PATCH 3/4] FIx lint --- inc/orderinjection.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/orderinjection.class.php b/inc/orderinjection.class.php index c3d0f03549..bdbc1082a4 100644 --- a/inc/orderinjection.class.php +++ b/inc/orderinjection.class.php @@ -34,6 +34,8 @@ class PluginOrderOrderInjection extends PluginOrderOrder implements PluginDatainjectionInjectionInterface { + protected $table; + public function __construct() { $this->table = getTableForItemType(get_parent_class($this)); From 28bf950b568c88588353e6b7af151d69e06486d8 Mon Sep 17 00:00:00 2001 From: Lainow Date: Thu, 7 May 2026 15:18:21 +0200 Subject: [PATCH 4/4] FIx lint --- inc/reception.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/reception.class.php b/inc/reception.class.php index 288c71cdc5..aecd5ea511 100644 --- a/inc/reception.class.php +++ b/inc/reception.class.php @@ -1051,12 +1051,12 @@ public function updateReceptionStatus($params) $params2['POST']["delivery_number"], $params2['POST']["plugin_order_deliverystates_id"] ); - if ($ma !== false) { + if ($ma != false) { $ma->itemDone(__CLASS__, $key, MassiveAction::ACTION_OK); } } else { Session::addMessageAfterRedirect(__("Item already taken delivery", "order"), true, ERROR); - if ($ma !== false) { + if ($ma != false) { $ma->itemDone(__CLASS__, $key, MassiveAction::ACTION_KO); } }