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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user