From fcab9400e746a6d4b0b36fce2452c99973256149 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 Jul 2022 13:12:39 +0200 Subject: [PATCH] Continued: - old-lost method BaseFrameworkSystem::replaceControlCharacters() removed --- .../config/class_FrameworkConfiguration.php | 2 +- .../classes/class_BaseFrameworkSystem.php | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/framework/config/class_FrameworkConfiguration.php b/framework/config/class_FrameworkConfiguration.php index 8412dcaa..d5d400d0 100644 --- a/framework/config/class_FrameworkConfiguration.php +++ b/framework/config/class_FrameworkConfiguration.php @@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Utils\Strings\StringUtils; use \InvalidArgumentException; /** - * A class for the configuration stuff implemented in a singleton design paddern + * A class for the configuration stuff implemented in a singleton design pattern * * NOTE: We cannot put this in framework/main/ because it would be loaded (again) in * class loader. See framework/loader/class_ClassLoader.php for instance diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 18c13c09..35add654 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -543,25 +543,6 @@ Loaded includes: )); } - /** - * Replaces control characters with printable output - * - * @param $str String with control characters - * @return $str Replaced string - */ - protected function replaceControlCharacters (string $str) { - // Replace them - $str = str_replace( - chr(13), '[r]', str_replace( - chr(10), '[n]', str_replace( - chr(9) , '[t]', - $str - ))); - - // Return it - return $str; - } - /** * Output a partial stub message for the caller method * -- 2.39.2