diff vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children
line wrap: on
line diff
--- a/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php	Thu Feb 28 13:21:36 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'),