Affects Version/s: None
Fix Version/s: 2.3
Security Level: All
This issue is created automatically through a Github pull request on behalf of Ocramius:
This PR fixes
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.