From 39603716973fdf917c280d61922ea15cd9e1f109 Mon Sep 17 00:00:00 2001 From: carbtest <126119246+carbtest@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:20:55 -0800 Subject: [PATCH 1/3] Update CAS.php Deprecated: phpCAS::client(): Implicitly marking parameter $sessionHandler as nullable is deprecated, the explicit nullable type must be used instead --- source/CAS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CAS.php b/source/CAS.php index df6bc825..38c2a749 100644 --- a/source/CAS.php +++ b/source/CAS.php @@ -347,7 +347,7 @@ class phpCAS */ public static function client($server_version, $server_hostname, $server_port, $server_uri, $service_base_url, - $changeSessionID = true, \SessionHandlerInterface $sessionHandler = null + $changeSessionID = true, ?\SessionHandlerInterface $sessionHandler = null ) { phpCAS :: traceBegin(); if (is_object(self::$_PHPCAS_CLIENT)) { From c7ae4b390dec8db4062f0682828a9a7ef5736af1 Mon Sep 17 00:00:00 2001 From: carbtest <126119246+carbtest@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:22:50 -0800 Subject: [PATCH 2/3] Update CAS.php --- source/CAS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CAS.php b/source/CAS.php index 38c2a749..da145bc1 100644 --- a/source/CAS.php +++ b/source/CAS.php @@ -402,7 +402,7 @@ public static function client($server_version, $server_hostname, */ public static function proxy($server_version, $server_hostname, $server_port, $server_uri, $service_base_url, - $changeSessionID = true, \SessionHandlerInterface $sessionHandler = null + $changeSessionID = true, ?\SessionHandlerInterface $sessionHandler = null ) { phpCAS :: traceBegin(); if (is_object(self::$_PHPCAS_CLIENT)) { From 48e3b4f8af0d0d2810308cc7066b5083afb4fb09 Mon Sep 17 00:00:00 2001 From: carbtest <126119246+carbtest@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:23:42 -0800 Subject: [PATCH 3/3] Update Client.php --- source/CAS/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CAS/Client.php b/source/CAS/Client.php index 8ca9711f..42709e91 100644 --- a/source/CAS/Client.php +++ b/source/CAS/Client.php @@ -938,7 +938,7 @@ public function __construct( $server_uri, $service_base_url, $changeSessionID = true, - \SessionHandlerInterface $sessionHandler = null + ?\SessionHandlerInterface $sessionHandler = null ) { // Argument validation if (gettype($server_version) != 'string')