From 32b8fe1c4b4df8b7cc368138f89024744100292e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 25 Mar 2022 16:42:27 -0300 Subject: [PATCH] Add covers annotation to OpenDocumentTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- phpstan-baseline.neon | 5 ----- test/classes/OpenDocumentTest.php | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2b2932b66a7a..05b8dce1f3d8 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -9010,11 +9010,6 @@ parameters: count: 1 path: libraries/classes/Utils/HttpRequest.php - - - message: "#^Parameter \\#2 \\$httpStatus of method PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:response\\(\\) expects int, mixed given\\.$#" - count: 1 - path: libraries/classes/Utils/HttpRequest.php - - message: "#^Variable \\$http_response_header in isset\\(\\) always exists and is not nullable\\.$#" count: 1 diff --git a/test/classes/OpenDocumentTest.php b/test/classes/OpenDocumentTest.php index 7ec98d73b91d..e87af1503c0f 100644 --- a/test/classes/OpenDocumentTest.php +++ b/test/classes/OpenDocumentTest.php @@ -14,6 +14,7 @@ use function unlink; /** + * @covers \PhpMyAdmin\OpenDocument * @requires extension zip */ class OpenDocumentTest extends AbstractTestCase