minor #38117 [Debug] Skip a test that was meant for HHVM (derrabus)

This PR was merged into the 3.4 branch.

Discussion
----------

[Debug] Skip a test that was meant for HHVM

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #36872
| License       | MIT
| Doc PR        | N/A

This PR skips a test that fails on php 8. If I read the test correctly, it is meant to run on HHVM, so I assumed it's save to skip it if we're on PHP.

Commits
-------

bf62a4d622 [Debug] Skip a test that was meant for HHVM.
This commit is contained in:
Fabien Potencier 2020-09-09 07:12:18 +02:00
commit 1df26c20a0

View File

@ -558,6 +558,10 @@ class ErrorHandlerTest extends TestCase
*/
public function testHandleFatalErrorOnHHVM()
{
if (!\defined('HHVM_VERSION')) {
$this->markTestSkipped('This test requires HHVM.');
}
try {
$handler = ErrorHandler::register();