From 2d192b0567d697c9f7633102b67169d4d7780ccc Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 16 Dec 2014 11:04:16 +0000 Subject: [PATCH] Skip test in hhvm --- tests/Monolog/Formatter/GelfMessageFormatterTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php index 033cc825..2cbba3fc 100644 --- a/tests/Monolog/Formatter/GelfMessageFormatterTest.php +++ b/tests/Monolog/Formatter/GelfMessageFormatterTest.php @@ -187,6 +187,10 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase */ public function testExceptionObjectWithResourceTrace() { + if (defined('HHVM_VERSION')) { + $this->markTestSkipped('Not supported in HHVM since it detects errors differently'); + } + // This happens i.e. in React promises or Guzzle streams where stream wrappers are registered // and no file or line are included in the trace because it's treated as internal function set_error_handler(function ($errno, $errstr, $errfile, $errline ) {