Explorar el Código

Update comment

Jordi Boggiano hace 7 años
padre
commit
c52e8e5656
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Package/Version/VersionGuesser.php

+ 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;
                 }