diff vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
line wrap: on
line diff
--- a/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php	Thu Feb 28 11:14:44 2019 +0000
+++ b/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php	Thu Feb 28 13:11:55 2019 +0000
@@ -29,7 +29,7 @@
      */
     public function testFormat($reflector, $expected)
     {
-        $this->assertSame($expected, strip_tags(SignatureFormatter::format($reflector)));
+        $this->assertSame($expected, \strip_tags(SignatureFormatter::format($reflector)));
     }
 
     public function signatureReflectors()
@@ -37,7 +37,7 @@
         return [
             [
                 new \ReflectionFunction('implode'),
-                defined('HHVM_VERSION') ? 'function implode($arg1, $arg2 = null)' : 'function implode($glue, $pieces)',
+                \defined('HHVM_VERSION') ? 'function implode($arg1, $arg2 = null)' : 'function implode($glue, $pieces)',
             ],
             [
                 ReflectionClassConstant::create($this, 'FOO'),