doctrine/doctrine2 — pull request #819 by vbourdeix (2013-10-14 13:06:51+00:00)
Title: Fixes a Fatal Error when using a subexpression in parenthesis

When some dql contains a subselect with expression in parenthesis, the
expression of the $simpleSelectExpression parameter given to
walkSimpleSelectExpression is an instance of AST\ParenthesisExpression.
Before this commit, this case defaulted to
$this->walkEntityIdentificationVariable($expr) where $expr is supposed
to be a string. A fatal error was then yielded.