comparison vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 Nop statement with comment at end (#513)
2 -----
3 <?php
4 $foo;
5 $bar;
6 -----
7 $stmts[1] = new Stmt\Nop(['comments' => [new Comment('//Some comment here')]]);
8 -----
9 <?php
10 $foo;
11 //Some comment here