From 5daa16263ff663df9d150e0e1bd268f3404a9009 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Tue, 5 Jul 2022 08:10:57 +0000
Subject: [PATCH] fix case of classes, fixes #1263

Closes #1263

Merge request studip/studip!771
---
 lib/classes/ForumBulkMail.php                        |  2 +-
 .../classes/EvaluationTreeEditView.class.php         |  6 +++---
 lib/evaluation/evaluation_admin_overview.inc.php     |  4 ++--
 lib/evaluation/evaluation_admin_overview.lib.php     | 12 ++++++------
 lib/filesystem/FilesystemVueDataManager.php          |  4 ++--
 lib/ilias_interface/IliasSoap.class.php              |  2 +-
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/lib/classes/ForumBulkMail.php b/lib/classes/ForumBulkMail.php
index a876665a1e6..bffb9155e0f 100644
--- a/lib/classes/ForumBulkMail.php
+++ b/lib/classes/ForumBulkMail.php
@@ -12,7 +12,7 @@
  * @category    Stud.IP
  */
 
-class ForumBulkMail extends Messaging
+class ForumBulkMail extends messaging
 {
     var $bulk_mail;
 
diff --git a/lib/evaluation/classes/EvaluationTreeEditView.class.php b/lib/evaluation/classes/EvaluationTreeEditView.class.php
index ef053c78a6d..ea2e67cae9a 100644
--- a/lib/evaluation/classes/EvaluationTreeEditView.class.php
+++ b/lib/evaluation/classes/EvaluationTreeEditView.class.php
@@ -2515,7 +2515,7 @@ class EvaluationTreeEditView
 
         $tr = new HTML ("tr");
 
-        $td = new HTMl ("td");
+        $td = new HTML ("td");
         $td->addAttr("class", "table_row_odd");
         $td->addAttr("colspan", "2");
 
@@ -2529,13 +2529,13 @@ class EvaluationTreeEditView
 
         $tr = new HTML ("tr");
 
-        $td = new HTMl ("td");
+        $td = new HTML ("td");
         $td->addAttr("style", "border-bottom:0px dotted black;");
         $td->addContent(_("Die Fragen dieses Blocks müssen beantwortet werden (Pflichtfelder):"));
 
         $tr->addContent($td);
 
-        $td = new HTMl ("td");
+        $td = new HTML ("td");
         $td->addAttr("style", "border-bottom:0px dotted black;");
 
         $input = new HTMLempty ("input");
diff --git a/lib/evaluation/evaluation_admin_overview.inc.php b/lib/evaluation/evaluation_admin_overview.inc.php
index d02f77b2504..32b7a5fd499 100644
--- a/lib/evaluation/evaluation_admin_overview.inc.php
+++ b/lib/evaluation/evaluation_admin_overview.inc.php
@@ -305,7 +305,7 @@ $evalIDArray = $db->getEvaluationIDs($rangeID, EVAL_STATE_ACTIVE);
 $tr = new HTML ("tr");
 $td = new HTML ("td");
 $td->addAttr("class", "blank");
-$td->addContent(new HTMLEmpty("br"));
+$td->addContent(new HTMLempty("br"));
 $b = new HTML ("b");
 $b->addContent(_("Laufende Evaluationen:"));
 $td->addContent($b);
@@ -339,7 +339,7 @@ $evalIDArray = $db->getEvaluationIDs($rangeID, EVAL_STATE_STOPPED);
 $tr = new HTML ("tr");
 $td = new HTML ("td");
 $td->addAttr("class", "blank");
-$td->addContent(new HTMLEmpty("br"));
+$td->addContent(new HTMLempty("br"));
 $b = new HTML ("b");
 $b->addContent(_("Beendete Evaluationen:"));
 $td->addContent($b);
diff --git a/lib/evaluation/evaluation_admin_overview.lib.php b/lib/evaluation/evaluation_admin_overview.lib.php
index 6e70ac74d1a..09a6b0bf6a9 100644
--- a/lib/evaluation/evaluation_admin_overview.lib.php
+++ b/lib/evaluation/evaluation_admin_overview.lib.php
@@ -323,7 +323,7 @@ class EvalOverview
         $form->addAttr("style", "display:inline;");
         $form->addHTMLContent(CSRFProtection::tokenTag());
 
-        $input = new HTMLEmpty("input");
+        $input = new HTMLempty("input");
         $input->addAttr("type", "hidden");
         $input->addAttr("name", "evalID");
         $input->addAttr("value", $evalID);
@@ -469,14 +469,14 @@ class EvalOverview
         $form->addAttr("style", "display:inline;");
         $form->addHTMLContent(CSRFProtection::tokenTag());
 
-        $input = new HTMLEmpty("input");
+        $input = new HTMLempty("input");
         $input->addAttr("type", "hidden");
         $input->addAttr("name", "evalID");
         $input->addAttr("value", $evalID);
 
         $form->addContent($input);
 
-        $a = new HTMLEmpty("a");
+        $a = new HTMLempty("a");
         $a->addAttr("name", "open");
 
         $table = new HTML("table");
@@ -520,7 +520,7 @@ class EvalOverview
             // no RuntimeSettings if there are ranges with no permission
             $td2->addHTMLContent($this->createDomainSettings($eval, $state, $number % 2 ? "eval_grey_border" : "eval_light_border"));
 
-            $td2->addContent(new HTMLEmpty("br"));
+            $td2->addContent(new HTMLempty("br"));
 
             $saveButton = Button::create(_('Ãœbernehmen'), 'save_button', ['title' => _('Einstellungen speichern')]);
             $td2->addContent($saveButton);
@@ -528,7 +528,7 @@ class EvalOverview
             $td2->addHTMLContent($this->createRuntimeSettings($eval, $state, $number % 2 ? "eval_grey_border" : "eval_light_border"));
 
             $td2->addHTMLContent($this->createDomainSettings($eval, $state, $number % 2 ? "eval_grey_border" : "eval_light_border"));
-            $td2->addContent(new HTMLEmpty("br"));
+            $td2->addContent(new HTMLempty("br"));
 
             $saveButton = Button::create(_('Ãœbernehmen'), 'save_button', ['title' => _('Einstellungen speichern')]);
 
@@ -685,7 +685,7 @@ class EvalOverview
         if ($GLOBALS["perm"]->have_perm("admin")) {
             $form->addHTMLContent('<label>');
             $form->addContent(_("Nach weiteren Bereichen suchen"));
-            $input = new HTMLEmpty("input");
+            $input = new HTMLempty("input");
             $input->addAttr("type", "text");
             $input->addAttr("name", "search");
             $input->addAttr("size", "30");
diff --git a/lib/filesystem/FilesystemVueDataManager.php b/lib/filesystem/FilesystemVueDataManager.php
index 28440a92114..84fbedb7282 100644
--- a/lib/filesystem/FilesystemVueDataManager.php
+++ b/lib/filesystem/FilesystemVueDataManager.php
@@ -39,7 +39,7 @@ class FilesystemVueDataManager
             'author_id' => $file->getUserId(),
             'chdate' => (int) $file->getLastChangeDate(),
             'additionalColumns' => $additionalColumns,
-            'details_url' => URLhelper::getURL("dispatch.php/file/details/{$file->getId()}", ['file_navigation' => '1']),
+            'details_url' => URLHelper::getURL("dispatch.php/file/details/{$file->getId()}", ['file_navigation' => '1']),
             'restrictedTermsOfUse' => $terms && !$terms->isDownloadable($topFolder->range_id, $topFolder->range_type, false),
             'actions' => $actionMenu ? (is_string($actionMenu) ? $actionMenu : $actionMenu->render()) : "",
             'new' => isset($last_visitdate) && $file->getLastChangeDate() > $last_visitdate && $file->getUserId() !== $GLOBALS['user']->id,
@@ -131,7 +131,7 @@ class FilesystemVueDataManager
             'id' => $folder->getId(),
             'icon' => $folder->getIcon(Icon::ROLE_CLICKABLE)->getShape(),
             'name' => $folder->name,
-            'url' => URLhelper::getURL('dispatch.php/' . $controllerpath . '/' . $folder->getId()),
+            'url' => URLHelper::getURL('dispatch.php/' . $controllerpath . '/' . $folder->getId()),
             'user_id' => $folder->user_id,
             'author_name' => $folder->owner ? $folder->owner->getFullname('no_title_rev') : '',
             'author_url' => $folder->owner && $folder->owner->id !== $GLOBALS['user']->id? URLHelper::getURL('dispatch.php/profile', ['username' => $folder->owner->username]) : '',
diff --git a/lib/ilias_interface/IliasSoap.class.php b/lib/ilias_interface/IliasSoap.class.php
index c3bd7cb13c9..bf313e85142 100644
--- a/lib/ilias_interface/IliasSoap.class.php
+++ b/lib/ilias_interface/IliasSoap.class.php
@@ -203,7 +203,7 @@ class IliasSoap extends StudipSoapClient
     function ParseXML($data)
     {
         //$xml_parser = new Ilias3ObjectXMLParser($data);
-        $xml_parser = new IlObjectXMLParser($data);
+        $xml_parser = new ilObjectXMLParser($data);
         $xml_parser->startParsing();
         return $xml_parser->getObjectData();
     }
-- 
GitLab