mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-364: No way to access version programmatically #451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 23, 2010).
Jira issue originally created by user giorgiosironi:
There is no version information that can be retrieved via php in an installed copy of Doctrine 2 (at least in alpha3.) The only information is hardcoded in the VersionTask for the command line tool ("running Doctrine 2.0.0 alpha 3").
Since this task is in the ORM folder, when only Common or DBAL are installed there is no way to track the version (apart searching the file revision in the repository.) A static class Doctrine\Common\Version containing the info like Zend_Version of Zend Framework would be useful.
@doctrinebot commented on GitHub (Feb 23, 2010):
Comment created by @guilhermeblanco:
In r7209 this issue was fixed.
@doctrinebot commented on GitHub (Feb 23, 2010):
Issue was closed with resolution "Fixed"