Skip to content

Commit 7613dac

Browse files
author
Dmytro Dymarchuk
committed
Make golang case-sensitive
1 parent c517539 commit 7613dac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BuildParseTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private function getNormalizerForNamespace(?string $type): \Closure
6262
if (null !== $type) {
6363
$type = strtolower($type);
6464
}
65-
if (\in_array($type, ['bitbucket', 'deb', 'github', 'golang', 'hex', 'rpm'], true)) {
65+
if (\in_array($type, ['bitbucket', 'deb', 'github', 'hex', 'rpm'], true)) {
6666
return static function (string $data): string {
6767
return strtolower($data);
6868
};
@@ -92,7 +92,7 @@ private function normalizeNameForType(string $name, ?string $type): string
9292
$name = str_replace('_', '-', $name);
9393
}
9494

95-
if (\in_array($type, ['bitbucket', 'deb', 'github', 'golang', 'hex', 'npm', 'pypi'], true)) {
95+
if (\in_array($type, ['bitbucket', 'deb', 'github', 'hex', 'npm', 'pypi'], true)) {
9696
$name = strtolower($name);
9797
}
9898

0 commit comments

Comments
 (0)