Explorar o código

Remove unused variable

Hannes Van De Vreken %!s(int64=10) %!d(string=hai) anos
pai
achega
b85cb7df82
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/Composer/Package/Version/VersionParser.php

+ 0 - 1
src/Composer/Package/Version/VersionParser.php

@@ -416,7 +416,6 @@ class VersionParser
             $lowVersion = $this->normalize($matches['from']);
             $lowerBound = new VersionConstraint('>=', $lowVersion . $lowStabilitySuffix);
 
-            $highVersion = $matches[10];
             if ((!empty($matches[11]) && !empty($matches[12])) || !empty($matches[14]) || !empty($matches[16])) {
                 $highVersion = $this->normalize($matches['to']);
                 $upperBound = new VersionConstraint('<=', $highVersion);