Skip to content

Commit

Permalink
Avoid returning actual fstat information as it induces modern PHPs in…
Browse files Browse the repository at this point in the history
… error when the returned file size is bigger than the fstat size, refs #10387
  • Loading branch information
Seldaek committed Dec 30, 2021
1 parent a2a8fa4 commit 164a769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Installer/BinaryInstaller.php
Expand Up @@ -348,7 +348,7 @@ public function stream_eof()
public function stream_stat()
{
return fstat(\$this->handle);
return array();
}
public function stream_set_option(\$option, \$arg1, \$arg2)
Expand Down

0 comments on commit 164a769

Please sign in to comment.