phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

Issue with phpunit 4.7.* and hhvm

Open roman-shuhov opened this issue 11 years ago • 2 comments

I got an error

Fatal error: Uncaught exception 'PharException' with message 'phar has a broken signature' in :
Stack trace:
#0 (): Phar->parsePhar()
#1 (): Phar->__construct()
#2 /usr/local/bin/phpunit(15): Phar::mapPhar()
#3 {main}

when i tried to run phpunit 4.7.* phar with hhvm 3.7.*

the same phar file works fine with php 5.5

phpunit <= 2.6.9 doesn't have this issue.

roman-shuhov avatar Jun 16 '15 17:06 roman-shuhov

If it works with PHP and not HHVM then it is an HHVM issue.

sebastianbergmann avatar Jun 16 '15 19:06 sebastianbergmann

This has been fixed by facebook/hhvm#5858 and should be in HHVM 3.9.

HRMsimon avatar Aug 05 '15 22:08 HRMsimon