aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php/example.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/php/example.php')
-rw-r--r--tests/indent/php/example.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/indent/php/example.php b/tests/indent/php/example.php
new file mode 100644
index 000000000..6b0ec56b0
--- /dev/null
+++ b/tests/indent/php/example.php
@@ -0,0 +1,12 @@
+<?php
+
+class example
+{
+ public int $variable;
+ // indentation works correctly here
+
+ public function foo()
+ {
+ // indentation works correctly here
+ }
+}