From 0b59826bcd61522a85676e2bddae9f0eadd28199 Mon Sep 17 00:00:00 2001 From: Niklas Forsdahl Date: Fri, 25 Aug 2023 13:27:03 +0300 Subject: [PATCH] Fixed deprecation notices in php 8.2 by using the AllowDynamicProperties annotation on classes that set dynamic properties --- code/LeftAndMain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index aed8a7112..b180e23f5 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -62,6 +62,7 @@ * This is essentially an abstract class which should be subclassed. * See {@link CMSMain} for a good example. */ +#[\AllowDynamicProperties] class LeftAndMain extends Controller implements PermissionProvider {