Mercurial > hg > isophonics-drupal-site
diff vendor/nikic/php-parser/test/updateTests.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
line wrap: on
line diff
--- a/vendor/nikic/php-parser/test/updateTests.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/nikic/php-parser/test/updateTests.php Thu Feb 28 13:21:36 2019 +0000 @@ -21,7 +21,7 @@ foreach ($tests as list($modeLine, list($input, $expected))) { $modes = null !== $modeLine ? array_fill_keys(explode(',', $modeLine), true) : []; list($parser5, $parser7) = $codeParsingTest->createParsers($modes); - $output = isset($modes['php5']) + list(, $output) = isset($modes['php5']) ? $codeParsingTest->getParseOutput($parser5, $input, $modes) : $codeParsingTest->getParseOutput($parser7, $input, $modes); $newTests[] = [$modeLine, [$input, $output]];