Mercurial > hg > isophonics-drupal-site
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test Thu Feb 28 13:21:36 2019 +0000 @@ -0,0 +1,11 @@ +Nop statement with comment at end (#513) +----- +<?php +$foo; +$bar; +----- +$stmts[1] = new Stmt\Nop(['comments' => [new Comment('//Some comment here')]]); +----- +<?php +$foo; +//Some comment here \ No newline at end of file