From 42f18f170aa86d612c3559cfb3bd11a375df32c8 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 8 Nov 2024 14:26:29 +0100 Subject: [PATCH] relax format assertions for fstat() results on Windows According to https://www.php.net/manual/en/function.stat.php the serial number of the volume that contains the file is returned for the "dev" entry as a 64-bit unsigned integer which may overflow. --- Tests/Caster/SplCasterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Caster/SplCasterTest.php b/Tests/Caster/SplCasterTest.php index 248e136..c70d759 100644 --- a/Tests/Caster/SplCasterTest.php +++ b/Tests/Caster/SplCasterTest.php @@ -104,7 +104,7 @@ public function testCastFileObject() flags: DROP_NEW_LINE|SKIP_EMPTY maxLineLen: 0 fstat: array:26 [ - "dev" => %d + "dev" => %i "ino" => %i "nlink" => %d "rdev" => 0