如何在框架phpixie上伪造请求

I have the following code:

$framework = new \Project\Framework();
//$framework->registerDebugHandlers(false, false);

$slice = new \PHPixie\Slice();
$http  = new \PHPixie\HTTP($slice);

$serverRequest = new PHPixie\HTTP\Messages\Message\Request\ServerRequest\SAPI(
    $http->messages(),
    [
        'REQUEST_METHOD'  => 'GET',
        'REQUEST_URI'     => 'http://localhost/v/param',
        'SERVER_NAME'     => 'localhost',
        'SERVER_PROTOCOL' => 'HTTP/1.1',
        'HTTP_HOST'       => 'localhost',
        'Content-Type'    => 'application/text',
    ],
    ['get'    => 1],
    ['post'   => 1],
    ['cookie' => 1],
    ['files'  => 1],
    [
        'enc_params' => 'param',
    ]
);

var_dump($framework->processHttpServerRequest($serverRequest)->getBody());

If you run this code through the console i get:

PHP Notice: Undefined index: REQUEST_METHOD in /vendor/phpixie/http/src/PHPixie/HTTP/Messages/Message/Request/ServerRequest/SAPI.php on line 45

Although the page will be received

I tried to insert the following code at the top of the page, but it did not help

$_REQUEST = [
    'REQUEST_METHOD' => 'GET',
    'REQUEST_URI'    => 'http://locahost/v/param',
];

and if you call this code through the browser, then everything is fine