Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / prettyPrinter / stmt / alias.test
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/alias.test b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/alias.test
new file mode 100644 (file)
index 0000000..ef5695d
--- /dev/null
@@ -0,0 +1,20 @@
+Aliases (namespacing)
+-----
+<?php
+
+use A\B;
+use C\D as E;
+use F\G as H, J;
+
+use function foo\bar;
+use function foo\bar as baz;
+use const foo\BAR;
+use const foo\BAR as BAZ;
+-----
+use A\B;
+use C\D as E;
+use F\G as H, J;
+use function foo\bar;
+use function foo\bar as baz;
+use const foo\BAR;
+use const foo\BAR as BAZ;
\ No newline at end of file