[DDC-1251] EntityGenerator uses non-existing constant T_AMPERSAND Created: 05/Jul/11 Updated: 09/Jul/11 Resolved: 09/Jul/11
|Project:||Doctrine 2 - ORM|
|Fix Version/s:||2.0.7, 2.1.1, 2.2|
|Reporter:||Jordi Boggiano||Assignee:||Benjamin Eberlei|
As per http://www.php.net/manual/en/tokens.php - the T_AMPERSAND token does not exist. I'm not sure what was the intent, but the entity generator fails on the following code:
Due to the way notices are handled in Symfony, this basically stops the execution of the generator entirely. Not so great.
Commenting out the offending line makes it work fine though, so I think it's just choking while expecting a function that takes args by reference or something.
|Comment by Benjamin Eberlei [ 09/Jul/11 ]|