diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 5f6518cf37e54..8661726f01747 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -3154,14 +3154,6 @@
false
-
- $this->appendIfExist($this->serverroot, $script.'.js')
- $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js')
- $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js')
- $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')
- $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')
- $this->appendIfExist($this->serverroot, 'core/'.$script.'.js')
-
$script
$script