|
|
@ -566,7 +566,6 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$packages = null;
|
|
|
|
$packages = null;
|
|
|
|
if ($cacheKey) {
|
|
|
|
|
|
|
|
if (!$useLastModifiedCheck && $hash && $this->cache->sha256($cacheKey) === $hash) {
|
|
|
|
if (!$useLastModifiedCheck && $hash && $this->cache->sha256($cacheKey) === $hash) {
|
|
|
|
$packages = json_decode($this->cache->read($cacheKey), true);
|
|
|
|
$packages = json_decode($this->cache->read($cacheKey), true);
|
|
|
|
$packagesSource = 'cached file ('.$cacheKey.' originating from '.Url::sanitize($url).')';
|
|
|
|
$packagesSource = 'cached file ('.$cacheKey.' originating from '.Url::sanitize($url).')';
|
|
|
@ -584,7 +583,6 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$packages) {
|
|
|
|
if (!$packages) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|