Jordi Boggiano 7 rokov pred
rodič
commit
c52e8e5656

+ 1 - 1
src/Composer/Package/Version/VersionGuesser.php

@@ -217,7 +217,7 @@ class VersionGuesser
                     break;
                 }
 
-                // do not compare against other feature branches
+                // do not compare against itself or other feature branches
                 if ($candidate === $branch || !preg_match('{^(' . $nonFeatureBranches . '|master|trunk|default|develop|\d+\..+)$}', $candidate, $match)) {
                     continue;
                 }