Closing the ZipArchive in ArtifactRepository::getComposerInformation()
parent
f92e15b032
commit
9355ebd3f6
|
@ -138,6 +138,7 @@ class ArtifactRepository extends ArrayRepository implements ConfigurableReposito
|
|||
}
|
||||
|
||||
$configurationFileName = $zip->getNameIndex($foundFileIndex);
|
||||
$zip->close();
|
||||
|
||||
$composerFile = "zip://{$file->getPathname()}#$configurationFileName";
|
||||
$json = file_get_contents($composerFile);
|
||||
|
|
Loading…
Reference in New Issue