We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b495a1 commit dbaae5aCopy full SHA for dbaae5a
src/Doctrine/Entity/Metadata.php
@@ -592,6 +592,11 @@ public function getBrowsableRepositoryUrl(): ?string
592
return null;
593
}
594
595
+ if (false === $this->version->isDevelopment() && $this === $this->version->getCurrentMetadata()) {
596
+ // Use the VCS tag only if it's the current metadata
597
+ $reference = $this->versionName;
598
+ }
599
+
600
if (str_starts_with($url, 'https://github.com/')) {
601
return "$url/tree/$reference";
602
} elseif (str_starts_with($url, 'https://gitlab.com/')) {
0 commit comments