doctrine/doctrine2 — pull request #396 by Ocramius (2012-07-08 13:01:15+00:00)
Title: DDC-1893 - Updating configuration to reflect latest Doctrine Common changes

This PR fixes DDC-1893 (http://www.doctrine-project.org/jira/browse/DDC-1893).

The `getDefaultAnnotationDriver` method was changes to stop supporting older incompatible Doctrine Common versions in favour of the newer logic.

Also, changing logic so that the SimpleAnnotationReader is no more the
default one. An additional parameter for the method will allow using it (this is a *BC break*!)

The CS fixes that were additionally implemented (along with other minor changes
that do not affect BC compatibility are caused by a CS sniff via IDE.