Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/phpunit-bridge/DnsMock.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/vendor/symfony/phpunit-bridge/DnsMock.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/symfony/phpunit-bridge/DnsMock.php Thu Feb 28 13:21:36 2019 +0000 @@ -163,7 +163,7 @@ public static function register($class) { - $self = get_called_class(); + $self = \get_called_class(); $mockedNs = array(substr($class, 0, strrpos($class, '\\'))); if (0 < strpos($class, '\\Tests\\')) { @@ -173,7 +173,7 @@ $mockedNs[] = substr($class, 6, strrpos($class, '\\') - 6); } foreach ($mockedNs as $ns) { - if (function_exists($ns.'\checkdnsrr')) { + if (\function_exists($ns.'\checkdnsrr')) { continue; } eval(<<<EOPHP