From c7c875a06360f28fbcacbcc8f8d7e4ad527155a9 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 10 Oct 2011 19:20:01 +0200 Subject: [PATCH] Fixed the version check in the entity generator The 3.0.x branch of Common has been merged to become the incoming 2.2 release. --- lib/Doctrine/ORM/Tools/EntityGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index cc08d944f..599e35b3a 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -150,7 +150,7 @@ public function () public function __construct() { - if (version_compare(\Doctrine\Common\Version::VERSION, '3.0.0-DEV', '>=')) { + if (version_compare(\Doctrine\Common\Version::VERSION, '2.2.0-DEV', '>=')) { $this->_annotationsPrefix = 'ORM\\'; } }