X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcopyFileBackend.php;h=ce4063842cd93f0d55ddf2b5fd59449657805b52;hb=0e2241ad6c9fd1ac055ce1a829144a021dfdb79f;hp=1142325994c262da2f0e2f6492a61b703baa8d91;hpb=35093297075bb55490b0c24653e0978333bc2fec;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 1142325994..ce4063842c 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -358,6 +358,7 @@ class CopyFileBackend extends Maintenance { // backends in FileBackendMultiWrite (since they get writes second, they have // higher timestamps). However, when copying the other way, this hits loads of // false positives (possibly 100%) and wastes a bunch of time on GETs/PUTs. + // @phan-suppress-next-line PhanTypeArraySuspiciousNullable $same = ( $srcStat['mtime'] <= $dstStat['mtime'] ); } else { // This is the slowest method which does many per-file HEADs (unless an object