You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Doctrine2 generator backup Entity files when it adds code into them. The files are named after the original file with a prepended.
The problem is that these backup files are valid PHP files, and as such, they are loaded by Doctrine2. A PHP fatal error is then fired: "Cannot redeclare class...".
Instead of prepending , why not appending , which is a well supported convention? (foo.php vs ~foo.php)
Jira issue originally created by user fabpot:
The Doctrine2 generator backup Entity files when it adds code into them. The files are named after the original file with a prepended.
The problem is that these backup files are valid PHP files, and as such, they are loaded by Doctrine2. A PHP fatal error is then fired: "Cannot redeclare class...".
Instead of prepending , why not appending , which is a well supported convention? (foo.php vs ~foo.php)
Patch is here: #35
The text was updated successfully, but these errors were encountered: