X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fvar-dumper%2FTests%2FCaster%2FExceptionCasterTest.php;h=4f9b538a0a0ed1057e3e4c6cb2050e19c04cdf0c;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=92cf6fb88299c27caa5464b8cb80adffdaf8e73a;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/vendor/symfony/var-dumper/Tests/Caster/ExceptionCasterTest.php b/vendor/symfony/var-dumper/Tests/Caster/ExceptionCasterTest.php index 92cf6fb88..4f9b538a0 100644 --- a/vendor/symfony/var-dumper/Tests/Caster/ExceptionCasterTest.php +++ b/vendor/symfony/var-dumper/Tests/Caster/ExceptionCasterTest.php @@ -126,6 +126,10 @@ EODUMP; public function testHtmlDump() { + if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) { + $this->markTestSkipped('A custom file_link_format is defined.'); + } + $e = $this->getTestException(1); ExceptionCaster::$srcContext = -1; @@ -160,16 +164,16 @@ EODUMP; */ public function testFrameWithTwig() { - require_once dirname(__DIR__).'/Fixtures/Twig.php'; + require_once \dirname(__DIR__).'/Fixtures/Twig.php'; $f = array( new FrameStub(array( - 'file' => dirname(__DIR__).'/Fixtures/Twig.php', + 'file' => \dirname(__DIR__).'/Fixtures/Twig.php', 'line' => 20, 'class' => '__TwigTemplate_VarDumperFixture_u75a09', )), new FrameStub(array( - 'file' => dirname(__DIR__).'/Fixtures/Twig.php', + 'file' => \dirname(__DIR__).'/Fixtures/Twig.php', 'line' => 21, 'class' => '__TwigTemplate_VarDumperFixture_u75a09', 'object' => new \__TwigTemplate_VarDumperFixture_u75a09(null, __FILE__),