doctrine/doctrine2 — pull request #790 by javer (2013-09-15 18:03:23+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.