projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
formatPreservation
/
nopCommentAtEnd.test
diff --git a/vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test
b/vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test
new file mode 100644
(file)
index 0000000..
059b5f1
--- /dev/null
+++ b/
vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test
@@ -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