-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unsupported PHPT --SECTION-- throws unhandled exception #3011
Comments
Thank you for your report. Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting. Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue. |
No feedback, closing. |
I'd like to reopen this. This can be reproduced in the following PEAR module: https://github.com/pear/Console_CommandLine/archive/v1.2.2.tar.gz Unpack archive, enter Console_CommandLine-1.2.2 directory and place following phpunit.xml in that directory:
Run phpunit. Boom.
It would be helpful if the PHPT file was mentioned that caused this, to narrow down what can be done to prevent this. |
That was with PHPUnit 7.5.3 by the way. |
I am able to reproduce the bug with:
but something else is going on, which I will look into:
after which PHPUnit will just quit to command line. |
@nacc @arjendekorte The problem is the To do:
|
That would solve it for me.
I'm not sure if that's worth the effort. I can switch to v8 easily for development, as long as the bug is fixed in v7 as well. |
@arjendekorte Bringing the improved code hints to v7 is not a problem. The infrastructure is already there. If anything, it shows me getting used to contributing to a large project that has two major releases existing side-by-side. |
I apologize for not being super familiar with the code, but both Ubuntu and Debian are hitting fatal DEP8 tests due to:
phpunit/src/Runner/PhptTestCase.php
Line 413 in c2442e8
In the prior PHPUnit, 5.4.6, we saw:
but now we get:
Which causes the package self-tests to fail (this is for php-cache-lite). My understanding is that this is internal to PHPUnit, and not expected to be handled by the caller, right?
The text was updated successfully, but these errors were encountered: