Skip to content

Commit aa452ed

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: [skip ci] Further increase allowable atime deviation
2 parents 3d5723e + 9b07b01 commit aa452ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/file/file.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
611611
if ( ! in_array( $fields[$index], $stat_time_diff_keys ) ) {
612612
$result = false;
613613
echo "Error: stat1 do not match with stat2 at key value: $fields[$index]\n";
614-
} elseif (abs($stat1[ $fields[$index] ] - $stat2[ $fields[$index] ]) > 1) {
614+
} elseif (abs($stat1[ $fields[$index] ] - $stat2[ $fields[$index] ]) > 2) {
615615
$result = false;
616616
echo "Error: stat1 differs too much from stat2 at key value: $fields[$index]\n";
617617
}

0 commit comments

Comments
 (0)