summaryrefslogtreecommitdiff
path: root/tests/test_trailing_closing_array_bracket/code.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_trailing_closing_array_bracket/code.php')
-rw-r--r--tests/test_trailing_closing_array_bracket/code.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_trailing_closing_array_bracket/code.php b/tests/test_trailing_closing_array_bracket/code.php
new file mode 100644
index 0000000..77f48be
--- /dev/null
+++ b/tests/test_trailing_closing_array_bracket/code.php
@@ -0,0 +1,12 @@
+<?php
+
+use kch42\ste\STECore;
+
+function test_func(STECore $ste)
+{
+ $ste->set_var_by_name("foo", array(
+ "foo",
+ "bar",
+ "baz",
+ ));
+}