diff options
Diffstat (limited to 'vendor/nikic/php-parser/test/code/prettyPrinter/comments.test')
-rw-r--r-- | vendor/nikic/php-parser/test/code/prettyPrinter/comments.test | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test b/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test new file mode 100644 index 0000000..34a9f93 --- /dev/null +++ b/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test @@ -0,0 +1,67 @@ +Comments +----- +<?php + +function justForIndentation() +{ + // Some text + # Some text + /* Some text */ + /** Some text */ + /** + * Some text. + * Some more text. + */ + /* + * Some text. + * Some more text. + */ + /* + Some text. + Some more text. + */ + /* Some text. + More text. */ + /* Some text. + More text. + Even more text. */ + $foo; +} +----- +function justForIndentation() +{ + // Some text + # Some text + /* Some text */ + /** Some text */ + /** + * Some text. + * Some more text. + */ + /* + * Some text. + * Some more text. + */ + /* + Some text. + Some more text. + */ + /* Some text. + More text. */ + /* Some text. + More text. + Even more text. */ + $foo; +} +----- +<?php + +function test() +{ + // empty +} +----- +function test() +{ + // empty +}
\ No newline at end of file |