From 8dab0a77aba79a523801db4b330f84c6e1f7863b Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Tue, 11 Jun 2024 08:51:18 +0200 Subject: [PATCH] PHPStan now handles `tempnam` return type as `non-empty-string` so we don't neet to assert it anymore --- tests/HmacTokenTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/HmacTokenTest.php b/tests/HmacTokenTest.php index 1d16b659..6569c9e4 100644 --- a/tests/HmacTokenTest.php +++ b/tests/HmacTokenTest.php @@ -156,7 +156,6 @@ public function signatureValidationWithLocalFileKeyReferenceWillOperateWithKeyCo { $key = tempnam(sys_get_temp_dir(), 'a-very-long-prefix-to-create-a-longer-key'); self::assertIsString($key); - self::assertNotSame('', $key); file_put_contents( $key,