apply hhvm fix

inspired by https://github.com/sensiolabs/SensioDistributionBundle/pull/150 for hhvm compatibility

fixes https://github.com/symfony-cmf/Testing/issues/71