summaryrefslogtreecommitdiff
path: root/tests/http/echoerr.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/echoerr.php')
-rw-r--r--tests/http/echoerr.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/http/echoerr.php b/tests/http/echoerr.php
deleted file mode 100644
index 7e1d05e7..00000000
--- a/tests/http/echoerr.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-use \Psr\Http\Message\ServerRequestInterface;
-use \Psr\Http\Message\ResponseInterface;
-
-function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
-{
- error_log(strtoupper($req->getQueryParams()['hello']));
-
- $resp->getBody()->write(strtoupper($req->getQueryParams()['hello']));
- return $resp->withStatus(201);
-}