Merge pull request #7428 from epieddy/bugfix/ziparchive-closing
Closing the ZipArchive in ArtifactRepository::getComposerInformation()pull/7405/head
commit
bbee0a6d85
|
@ -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