From 4dd8ba135be0028b559700b31b94f249f8614a2b Mon Sep 17 00:00:00 2001 From: sam marshall Date: Fri, 23 Feb 2024 08:08:13 +0000 Subject: [PATCH] PHP 8.2 Creation of dynamic property warnings #781 (#789) --- classes/admin/setting_button.php | 5 +++++ classes/auth.php | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/classes/admin/setting_button.php b/classes/admin/setting_button.php index 0b0c98434..1ffa3dc7d 100644 --- a/classes/admin/setting_button.php +++ b/classes/admin/setting_button.php @@ -38,6 +38,11 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class setting_button extends admin_setting_heading { + /** @var string Button label */ + protected $label; + /** @var string Button href */ + protected $href; + /** * A button element * diff --git a/classes/auth.php b/classes/auth.php index b4841ee48..61aaedd3e 100644 --- a/classes/auth.php +++ b/classes/auth.php @@ -63,6 +63,27 @@ class auth extends \auth_plugin_base { */ private $defaultidp; + /** + * @var string SP name + */ + public $spname; + + /** + * @var string Contents of certificate .pem file + */ + public $certpem; + + /** + * @var string Contents of certificate .crt file + */ + public $certcrt; + + /** + * @var idp_data[] List of metadata for IdPs + */ + public $metadatalist; + + /** * @var array $defaults The config defaults */