Skip to content

Commit

Permalink
Bump version to 2.13.4-DEV
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Sep 12, 2021
1 parent 0d7adf4 commit f1a05f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Doctrine/DBAL/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Doctrine\DBAL;

use function str_replace;
use function strtolower;
use function version_compare;

/**
Expand All @@ -16,7 +17,7 @@ class Version
/**
* Current Doctrine Version.
*/
public const VERSION = '2.13.3';
public const VERSION = '2.13.4-DEV';

/**
* Compares a Doctrine version with the current one.
Expand All @@ -27,7 +28,7 @@ class Version
*/
public static function compare($version)
{
$currentVersion = str_replace(' ', '', self::VERSION);
$currentVersion = str_replace(' ', '', strtolower(self::VERSION));
$version = str_replace(' ', '', $version);

return version_compare($version, $currentVersion);
Expand Down

0 comments on commit f1a05f8

Please sign in to comment.