From c5b3c63196de87a3576951fba995fc051af96128 Mon Sep 17 00:00:00 2001 From: carbtest <126119246+carbtest@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:32:28 -0800 Subject: [PATCH] spelling corrections for CAS.php spelling corrections --- source/CAS.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/CAS.php b/source/CAS.php index 848ceac5..df6bc825 100644 --- a/source/CAS.php +++ b/source/CAS.php @@ -303,7 +303,7 @@ class phpCAS /** * This variable is used to enable verbose mode - * This pevents debug info to be show to the user. Since it's a security + * This prevents debug info to be show to the user. Since it's a security * feature the default is false * * @hideinitializer @@ -409,7 +409,7 @@ public static function proxy($server_version, $server_hostname, phpCAS :: error(self::$_PHPCAS_INIT_CALL['method'] . '() has already been called (at ' . self::$_PHPCAS_INIT_CALL['file'] . ':' . self::$_PHPCAS_INIT_CALL['line'] . ')'); } - // store where the initialzer is called from + // store where the initializer is called from $dbg = debug_backtrace(); self::$_PHPCAS_INIT_CALL = array ( 'done' => true, @@ -560,7 +560,7 @@ public static function log($str) $indent_str .= '| '; } - // allow for multiline output with proper identing. Usefull for + // allow for multiline output with proper identing. Useful for // dumping cas answers etc. $str2 = str_replace("\n", "\n" . self::$_PHPCAS_DEBUG['unique_id'] . ' ' . $indent_str, $str); $str3 = self::$_PHPCAS_DEBUG['unique_id'] . ' ' . $indent_str . $str2; @@ -568,7 +568,7 @@ public static function log($str) self::$_PHPCAS_DEBUG['logger']->info($str3); } if (!empty(self::$_PHPCAS_DEBUG['filename'])) { - // Check if file exists and modifiy file permissions to be only + // Check if file exists and modify file permissions to be only // readable by the webserver if (!file_exists(self::$_PHPCAS_DEBUG['filename'])) { touch(self::$_PHPCAS_DEBUG['filename']); @@ -1769,7 +1769,7 @@ public static function setSessionIdSalt($salt) { /** * If you want your service to be proxied you have to enable it (default - * disabled) and define an accepable list of proxies that are allowed to + * disabled) and define an acceptable list of proxies that are allowed to * proxy your service. * * Add each allowed proxy definition object. For the normal CAS_ProxyChain @@ -1790,7 +1790,7 @@ public static function setSessionIdSalt($salt) { * 'http://client.example.com/' * ))); * - * For quick testing or in certain production screnarios you might want to + * For quick testing or in certain production scenarios you might want to * allow allow any other valid service to proxy your service. To do so, add * the "Any" chain: * phpCAS::allowProxyChain(new CAS_ProxyChain_Any); @@ -1897,7 +1897,7 @@ private static function _validateClientExists() } /** - * Checks of a proxy client aready exists + * Checks of a proxy client already exists * * @throws CAS_OutOfSequenceBeforeProxyException *