Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatability with phpunit7? #952

Closed
mitquinn opened this issue Aug 1, 2018 · 2 comments
Closed

Compatability with phpunit7? #952

mitquinn opened this issue Aug 1, 2018 · 2 comments
Assignees
Milestone

Comments

@mitquinn
Copy link

mitquinn commented Aug 1, 2018

Is there compatibility with phpunit 7?

I am getting this error:

PHP Fatal error: Declaration of PHPUnitTestRunner6::addError(PHPUnit\Framework\Test $test, Exception $e, $time) must be compatible with PHPUnit\Framework\TestListener::addError(PHPUnit\Framework\Test $test, Throwable $t, float $time): void in /vendor/phing/phing/classes/phing/tasks/ext/phpunit/PHPUnitTestRunner6.php on line 27

If not perhaps I could make a PHPUnitTestRunner7 class?

@siad007
Copy link
Member

siad007 commented Aug 3, 2018

@Mquinn123 Currently we have not yet support for phpunit 7. There is a bug inside the phpunit framework which makes it impossible to support it as long as phpunit 7.3 is not released. See my bug report here sebastianbergmann/phpunit#3226

@siad007 siad007 self-assigned this Sep 29, 2018
@siad007 siad007 added this to the 3.0.0-alpha2 milestone Sep 29, 2018
@siad007
Copy link
Member

siad007 commented Sep 29, 2018

@Mquinn123 would you mind to check if the pr #962 fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants