Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d77f5d9

Browse filesBrowse files
committed
minor #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
Copy full SHA for d77f5d9

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.