doctrine/doctrine2 — pull request #1079 by lattwood (2014-07-08 17:07:12+00:00)
Title: HHVM compatibility: func_get_args

All func_get_args() calls have been moved to the top of the methods
because HHVM doesn't keep a copy of the original args for performance
reasons.

See facebook/hiphop-php#1027 for details.