| Index: lib/src/prism/tests/languages/php/package_feature.test
|
| diff --git a/lib/src/prism/tests/languages/php/package_feature.test b/lib/src/prism/tests/languages/php/package_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e1d3e5f25cd94bf0e5ac3b489077a0a01db7043d
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/php/package_feature.test
|
| @@ -0,0 +1,29 @@
|
| +namespace \foo
|
| +namespace \foo\bar\baz
|
| +use \foo
|
| +use \foo\bar\baz
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["keyword", "namespace"],
|
| + ["package", [["punctuation", "\\"], "foo"]],
|
| + ["keyword", "namespace"],
|
| + ["package", [
|
| + ["punctuation", "\\"], "foo",
|
| + ["punctuation", "\\"], "bar",
|
| + ["punctuation", "\\"], "baz"
|
| + ]],
|
| + ["keyword", "use"],
|
| + ["package", [["punctuation", "\\"], "foo"]],
|
| + ["keyword", "use"],
|
| + ["package", [
|
| + ["punctuation", "\\"], "foo",
|
| + ["punctuation", "\\"], "bar",
|
| + ["punctuation", "\\"], "baz"
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for packages.
|
|
|