summaryrefslogtreecommitdiff
path: root/tests/indent/php/example2.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/php/example2.php')
-rw-r--r--tests/indent/php/example2.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/php/example2.php b/tests/indent/php/example2.php
new file mode 100644
index 00000000..4f739f81
--- /dev/null
+++ b/tests/indent/php/example2.php
@@ -0,0 +1,6 @@
+<?php
+function()
+{
+ $foo = 'bar';
+ // indentation with `o` is correct
+}