1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-30 09:50:26 +02:00

Skip test in hhvm

This commit is contained in:
Jordi Boggiano
2014-12-16 11:04:16 +00:00
parent d7561931a5
commit 2d192b0567

View File

@@ -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 ) {