diff --git a/src/VersionParser.php b/src/VersionParser.php index 0b0bc506..107dd8dd 100644 --- a/src/VersionParser.php +++ b/src/VersionParser.php @@ -261,7 +261,7 @@ public function parseConstraints($constraints) $orGroups = array(); foreach ($orConstraints as $orConstraint) { - $andConstraints = preg_split('{(?< ,]) *(?< ,]) *(?assertSame((string) $multi, (string) $parser->parseConstraints($constraint)); + $this->assertSame((string) $multi, (string) $parser->parseConstraints((string) $multi)); } /**