Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-BETA2
-
Fix Version/s: 2.0.0-BETA3
-
Component/s: None
-
Labels:None
-
Environment:OS: Ubuntu, PHP version: 5.3.2
Description
In the upgrade from DC2 beta1 to beta2 the annonation mapper now starts to try and parse a some of the PHPDocblock annotations such as @package @subpackage but also the email adress in @author
Example of docblock
/** * @author Antoine Hedgecock <antoine@pmg.se> * @version 1.0.0 */ /** * @package Models * @subpackage Default * * @Entity(repositoryClass="Default_Model_Mapper_Category") * @Table(name="categories") * @InheritanceType("SINGLE_TABLE") * @DiscriminatorColumn(name="type", type="smallint") * @DiscriminatorMap({ * "0" = "Project_Model_Category" * }) */
will cause it to try and load
Doctrine/ORM/Mapping/package.php
Doctrine/ORM/Mapping/subpackage.php
Doctrine/ORM/Mapping/pmg.php
note pmg because its in the email of the author annotation