Update src/Core/Manifest/VersionProvider.php

Co-authored-by: Michal Kleiner <mk@011.nz>
This commit is contained in:
Thomas Portelange 2023-08-02 06:55:16 +02:00 committed by GitHub
parent c0cc129f12
commit b9f63001c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ class VersionProvider
*/
public function getVersion()
{
$key = preg_replace("/[^A-Za-z0-9]/", '', $this->getComposerLockPath() . 'all');
$key = preg_replace("/[^A-Za-z0-9]/", '_', $this->getComposerLockPath() . '_all');
$version = $this->getCachedValue($key);
if ($version) {
return $version;