Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / test / CodeCleaner / NamespacePassTest.php
index 0c28dc6e47e01d342b37e26ba039b04bc2768c85..e8f013961cb8694f74eac975f9050d880b9d0276 100644 (file)
@@ -43,7 +43,7 @@ class NamespacePassTest extends CodeCleanerTestCase
         // A new block namespace clears out the current namespace...
         $this->parseAndTraverse('namespace Gamma { array_merge(); }');
 
-        if (defined('PhpParser\\Node\\Stmt\\Namespace_::KIND_SEMICOLON')) {
+        if (\defined('PhpParser\\Node\\Stmt\\Namespace_::KIND_SEMICOLON')) {
             $this->assertNull($this->cleaner->getNamespace());
         } else {
             // But not for PHP-Parser < v3.1.2 :(