comparison vendor/symfony/var-dumper/Tests/Caster/ExceptionCasterTest.php @ 13:5fb285c0d0e3

Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've been lucky to get away with this so far, as we don't support self-registration which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5 was vulnerable to.
author Chris Cannam
date Mon, 23 Apr 2018 09:33:26 +0100
parents 7a779792577d
children 129ea1e6d783
comparison
equal deleted inserted replaced
12:7a779792577d 13:5fb285c0d0e3
124 $this->assertDumpMatchesFormat($expectedDump, $e); 124 $this->assertDumpMatchesFormat($expectedDump, $e);
125 } 125 }
126 126
127 public function testHtmlDump() 127 public function testHtmlDump()
128 { 128 {
129 if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) {
130 $this->markTestSkipped('A custom file_link_format is defined.');
131 }
132
129 $e = $this->getTestException(1); 133 $e = $this->getTestException(1);
130 ExceptionCaster::$srcContext = -1; 134 ExceptionCaster::$srcContext = -1;
131 135
132 $cloner = new VarCloner(); 136 $cloner = new VarCloner();
133 $cloner->setMaxItems(1); 137 $cloner->setMaxItems(1);