Merge pull request #145 from stof/EntityGenerator_versionCheck
Fixed the version check in the entity generator
This commit is contained in:
commit
509e5fb12f
@ -150,7 +150,7 @@ public function <methodName>()
|
||||
|
||||
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\\';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user