1
0
Fork 0

Closing the ZipArchive in ArtifactRepository::getComposerInformation()

pull/7428/head
efajnzilberg 2018-06-25 10:34:00 +02:00
parent f92e15b032
commit 9355ebd3f6
1 changed files with 1 additions and 0 deletions

View File

@ -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);