From f55d4427319a57b9d19be3225cfdb3d70f692d28 Mon Sep 17 00:00:00 2001 From: Jason Coward Date: Tue, 16 Apr 2024 09:06:07 -0600 Subject: [PATCH] Add AllowDynamicProperties attribute to xPDO class This avoids the deprecation warning when dynamic properties are assigned to the class in 8.2+ --- xpdo/xpdo.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xpdo/xpdo.class.php b/xpdo/xpdo.class.php index a4a05db..09ac83d 100644 --- a/xpdo/xpdo.class.php +++ b/xpdo/xpdo.class.php @@ -88,6 +88,7 @@ * * @package xpdo */ +#[\AllowDynamicProperties] class xPDO { /**#@+ * Constants