Jira issue originally created by user simonvdd:
In Doctrine\ORM\Tools\Export\Driver\AnnotationExporter, on line 191 & 197, method getClassToExtend() is called, whereas the actual name of the method is _getClassToExtend().
It generates a fatal error when using command line tool symfony doctrine:build --all.
Comment created by florian.klein:
I had the same problem with sfDoctrine2Plugin ( http://svn.symfony-project.org/plugins/sfDoctrinePlugin/branches/1.3-2.0 )
But it seems to be fixed as I can't reproduce the problem with ./symfony doctrine:build --all
in rev 6639
Comment created by simonvdd:
Well the fix version is 2.0-ALPHA3, and sfDoctrine2Plugin is now embedding 2.0-ALPHA3 (was ALPHA1 when I submited this bug), so it might be OK. I'll check this out ASAP.
Well I just downloaded the last version of sfDoctrine2Plugin, and the problem is still there.
Anyway, the method is still called _getClassToExtend(), and lines 191 & 197 are still calling getClassToExtend(), so it should not work I think... Except if it is a kind of magic that PHP allows, and in this case, I don't know about that !
Issue was closed with resolution "Fixed"