Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website] / vendor / symfony / var-dumper / Tests / Caster / ExceptionCasterTest.php
index 92cf6fb88299c27caa5464b8cb80adffdaf8e73a..4f9b538a0a0ed1057e3e4c6cb2050e19c04cdf0c 100644 (file)
@@ -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__),