Skip to content

Commit d77f5d9

Browse files
committed
minor symfony#58812 relax format assertions for fstat() results on Windows (xabbuh)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead. Discussion ---------- relax format assertions for fstat() results on Windows | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT 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. Commits ------- 3ce4bd7 relax format assertions for fstat() results on Windows
2 parents d51863d + 3ce4bd7 commit d77f5d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function testCastFileObject()
104104
flags: DROP_NEW_LINE|SKIP_EMPTY
105105
maxLineLen: 0
106106
fstat: array:26 [
107-
"dev" => %d
107+
"dev" => %i
108108
"ino" => %i
109109
"nlink" => %d
110110
"rdev" => 0

0 commit comments

Comments
 (0)