comparison vendor/nikic/php-parser/test/PhpParser/Internal/DifferTest.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
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <?php declare(strict_types=1); 1 <?php declare(strict_types=1);
2 2
3 namespace PhpParser\Internal; 3 namespace PhpParser\Internal;
4 4
5 use PHPUnit\Framework\TestCase; 5 class DifferTest extends \PHPUnit\Framework\TestCase
6
7 class DifferTest extends TestCase
8 { 6 {
9 private function formatDiffString(array $diff) { 7 private function formatDiffString(array $diff) {
10 $diffStr = ''; 8 $diffStr = '';
11 foreach ($diff as $diffElem) { 9 foreach ($diff as $diffElem) {
12 switch ($diffElem->type) { 10 switch ($diffElem->type) {