thephpleague / phpunit-coverage-listener

Report code coverage statistics to third-party services
thephpleague.com
MIT License
48 stars 6 forks source link

hhvm throws error #4

Open ghost opened 10 years ago

ghost commented 10 years ago

I get this error while running the TravisCI with hhvm and PHPUnit 4.+

I am not sure if there's anything to do with this package, but hhvm breaks my builds.

Fatal error: Uncaught exception 'PHPUnit_Framework_Error_Warning' with message 'Not a valid stream resource' in /home/travis/build/rajibmp/myproj/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php:19
Stack trace:
#0 (): PHPUnit_Util_ErrorHandler::handleError()
#1 /home/travis/build/rajibmp/myproj/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php(19): fwrite()
#2 /home/travis/build/rajibmp/myproj/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Listener.php(62): League\PHPUnitCoverageListener\Printer\StdOut->out()
#3 /home/travis/build/rajibmp/myproj/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Listener.php(51): League\PHPUnitCoverageListener\Listener->handle()
#4 (): {closure}()
#5 {main}
toopay commented 10 years ago

@rajibmp Interesting. I'll check it tonight.

ghost commented 10 years ago

@toopay if you are interested, some more warnings via TravisCI for hhvm

Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 19
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 27
Warning: Invalid operand type was used: expecting an array in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Listener.php on line 331
Warning: Invalid operand type was used: expecting an array in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Listener.php on line 331
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 19
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 19
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 27
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 27
Warning: Not a valid stream resource in /home/travis/build/rajibmp/ImageR/vendor/league/phpunit-coverage-listener/src/League/PHPUnitCoverageListener/Printer/StdOut.php on line 19