Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / prettyPrinter / comments.test
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 (file)
index 0000000..34a9f93
--- /dev/null
@@ -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