Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 54 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Migrator/FilesMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private function estimateFolderSize(Folder $folder, ?callable $nodeFilter = null
$size += $this->estimateFolderSize($node, $nodeFilter);
}
}
return $size;
return (int)$size;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fail on 32bits for more than 4GB (or 2GB because signed?).
Should we move all int to int|float for filesizes 32bit support?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pytal ^

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

/**
Expand Down