Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / test / CodeCleaner / FunctionReturnInWriteContextPassTest.php
index fb323ab5610b61cc2f0d4bdb0780c40580229673..85f6a04c0607b58107ecaca1f0c83c9b1ff0cc56 100644 (file)
@@ -49,7 +49,7 @@ class FunctionReturnInWriteContextPassTest extends CodeCleanerTestCase
             $this->traverser->traverse($this->parse('isset(strtolower("A"))'));
             $this->fail();
         } catch (FatalErrorException $e) {
-            if (version_compare(PHP_VERSION, '5.5', '>=')) {
+            if (\version_compare(PHP_VERSION, '5.5', '>=')) {
                 $this->assertContains(
                     'Cannot use isset() on the result of a function call (you can use "null !== func()" instead)',
                     $e->getMessage()
@@ -66,7 +66,7 @@ class FunctionReturnInWriteContextPassTest extends CodeCleanerTestCase
      */
     public function testEmpty()
     {
-        if (version_compare(PHP_VERSION, '5.5', '>=')) {
+        if (\version_compare(PHP_VERSION, '5.5', '>=')) {
             $this->markTestSkipped();
         }