From 4e00aeb61ba2a04e2a760897a63f49363611eef5 Mon Sep 17 00:00:00 2001 From: Terry Lin Date: Wed, 15 Jul 2020 13:12:06 +0800 Subject: [PATCH] Manually tested. --- src/Psr7/ServerRequest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Psr7/ServerRequest.php b/src/Psr7/ServerRequest.php index 17d21b9..2e6bfb7 100644 --- a/src/Psr7/ServerRequest.php +++ b/src/Psr7/ServerRequest.php @@ -347,6 +347,7 @@ protected function determineParsedBody(array $postParams) } } + // @codeCoverageIgnoreStart // Maybe other http methods such as PUT, DELETE, etc... if ($httpMethod !== 'GET' && !$isForm) { @@ -375,5 +376,8 @@ protected function determineParsedBody(array $postParams) } } } + + // This part is manually tested by using PostMan. + // @codeCoverageIgnoreEnd } }