Jira issue originally created by user majkl578:
The require statement in Doctrine/ORM/Mapping/Driver/AnnotationDriver.php causes troubles in some cases. Imagine the situation when you're creating your own class loader which maps all classes and loads all requested classes lazily. When it loads any class from DoctrineAnnotations.php before loading AnnotationDriver and this class is loaded later, you get: PHP Fatal error: Cannot redeclare class ....
PHP Fatal error: Cannot redeclare class ...
Changing require_ to _require_once solves the problem.
Pull request: #45
Comment created by @beberlei:
This was fixed for 2.1
Issue was closed with resolution "Fixed"