aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/php_spec.lua')
-rw-r--r--tests/indent/php_spec.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/indent/php_spec.lua b/tests/indent/php_spec.lua
index 2a41079ff..c3f84e6e2 100644
--- a/tests/indent/php_spec.lua
+++ b/tests/indent/php_spec.lua
@@ -67,5 +67,10 @@ describe("indent PHP:", function()
run:new_line("issue-6888.php", { on_line = 6, text = "$a;", indent = 0 })
run:new_line("issue-6888.php", { on_line = 8, text = "$a;", indent = 4 })
run:new_line("issue-6888.php", { on_line = 11, text = "$a;", indent = 0 })
+ run:new_line("property-hooks.php", { on_line = 7, text = "get;", indent = 8 })
+ run:new_line("property-hooks.php", { on_line = 8, text = "set;", indent = 8 })
+ run:new_line("property-hooks.php", { on_line = 9, text = "$a;", indent = 12 })
+ run:new_line("property-hooks.php", { on_line = 11, text = "get;", indent = 8 })
+ run:new_line("property-hooks.php", { on_line = 12, text = "get;", indent = 4 })
end)
end)