Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / test / CodeCleanerTest.php
index e00b0678e2ab45e36e2537e02229035666d9fa33..2195a4ff874b48b953d58302bac363ee470967f5 100644 (file)
@@ -60,6 +60,8 @@ class CodeCleanerTest extends \PHPUnit\Framework\TestCase
             [['echo \''],  true],
             [['if (1) {'], true],
 
+            [['echo "foo",'], true],
+
             [['echo ""'],   false],
             [["echo ''"],   false],
             [['if (1) {}'], false],
@@ -77,7 +79,7 @@ class CodeCleanerTest extends \PHPUnit\Framework\TestCase
      */
     public function testMoreUnclosedStatements(array $lines)
     {
-        if (defined('HHVM_VERSION')) {
+        if (\defined('HHVM_VERSION')) {
             $this->markTestSkipped('HHVM not supported.');
         }