From 4544d168a1b2677714323d9194a307640e44777e Mon Sep 17 00:00:00 2001 From: Jason Coward Date: Tue, 13 Jun 2023 15:49:21 -0600 Subject: [PATCH] Add AllowDynamicProperties attribute to xPDO class (#252) This will avoid any compatibility issues with PHP >= 8.2 when using the deprecated getService() method in legacy applications. --- src/xPDO/xPDO.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xPDO/xPDO.php b/src/xPDO/xPDO.php index 874ac12..eab61f7 100644 --- a/src/xPDO/xPDO.php +++ b/src/xPDO/xPDO.php @@ -55,6 +55,7 @@ * * @package xpdo */ +#[\AllowDynamicProperties] class xPDO { /**#@+ * Constants