Resolve backend Qodana critical and high findings (#314)

Resolve recommended-profile Critical and High findings, retain narrow analyzer exceptions, and update the edge-broker WebSocket dependency to a non-vulnerable release.
This commit is contained in:
Jeppe B
2026-07-17 05:44:16 +02:00
committed by GitHub
parent 6566027746
commit 2a6a86c9c3
108 changed files with 234 additions and 1283 deletions
@@ -13,7 +13,6 @@ function system_search_entity_coverage_invoke_private(object $instance, string $
{
$reflection = new ReflectionClass($instance);
$target = $reflection->getMethod($method);
$target->setAccessible(true);
return (array)$target->invoke($instance);
}
@@ -8,7 +8,6 @@ function system_search_route_invoke_private(systemSearchRoute $route, string $me
{
$reflection = new ReflectionClass($route);
$target = $reflection->getMethod($method);
$target->setAccessible(true);
return $target->invokeArgs($route, $args);
}
@@ -141,7 +141,6 @@ if (!function_exists('system_search_service_invoke_private')) {
function system_search_service_invoke_private(object $instance, string $method, array $args = []): mixed
{
$reflection = new ReflectionMethod($instance, $method);
$reflection->setAccessible(true);
return $reflection->invokeArgs($instance, $args);
}
}