aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php/issue-6888.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/php/issue-6888.php')
-rw-r--r--tests/indent/php/issue-6888.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/indent/php/issue-6888.php b/tests/indent/php/issue-6888.php
new file mode 100644
index 000000000..950cb8119
--- /dev/null
+++ b/tests/indent/php/issue-6888.php
@@ -0,0 +1,12 @@
+<?php
+enum DaysOfWeek: int
+{
+ case Sunday = 0;
+ case Monday = 1;
+}
+
+class Foo {
+ public int $id;
+ public string $brand;
+}
+?> \ No newline at end of file