Skip to content

Commit

Permalink
Tentative to replace vierbergenlars/php-semver by composer/semver
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmonod authored and Jonathanm10 committed Sep 29, 2023
1 parent bcc9848 commit 95d0920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Liip/RMT/Version/Generator/SemanticGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

namespace Liip\RMT\Version\Generator;

use Composer\Semver\Comparator;
use Liip\RMT\Context;
use vierbergenlars\SemVer\version;

/**
* Generator based on the Semantic Versioning defined by Tom Preston-Werner
Expand Down Expand Up @@ -143,6 +143,6 @@ public function getInitialVersion()

public function compareTwoVersions($a, $b)
{
return version::compare($a, $b);
return Comparator::equalTo($a, $b);
}
}

0 comments on commit 95d0920

Please sign in to comment.