diff --git a/libraries/classes/Config.php b/libraries/classes/Config.php
index 99d1792924..7ca2f39573 100644
--- a/libraries/classes/Config.php
+++ b/libraries/classes/Config.php
@@ -658,9 +658,7 @@ class Config
$error = '[strong]' . __('Failed to read configuration file!') . '[/strong]'
. '[br][br]'
- . __('This usually means there is a syntax error in it, please check any errors shown below.')
- . '[br][br]'
- . '[conferr]';
+ . __('This usually means there is a syntax error in it.');
throw new ConfigException(Sanitize::sanitizeMessage($error));
}
diff --git a/libraries/classes/Sanitize.php b/libraries/classes/Sanitize.php
index d9eeda7d4c..982979c51a 100644
--- a/libraries/classes/Sanitize.php
+++ b/libraries/classes/Sanitize.php
@@ -191,8 +191,6 @@ class Sanitize
'[/doc]' => '',
'[sup]' => '',
'[/sup]' => '',
- '[conferr]' => '',
// used in libraries/Util.php
'[dochelpicon]' => Html\Generator::getImage('b_help', __('Documentation')),
];
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 7776cec5ba..bd8a9f58fd 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -27580,11 +27580,6 @@ parameters:
count: 1
path: public/setup/index.php
- -
- message: "#^Parameter \\#1 \\$filename of function is_readable expects string, mixed given\\.$#"
- count: 1
- path: public/show_config_errors.php
-
-
message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
count: 2
diff --git a/psalm.xml b/psalm.xml
index 3ff6eb4737..837e65b3fb 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -18,7 +18,6 @@
-
diff --git a/public/show_config_errors.php b/public/show_config_errors.php
deleted file mode 100644
index 601dd0672b..0000000000
--- a/public/show_config_errors.php
+++ /dev/null
@@ -1,44 +0,0 @@
-