From 2381c52c690342f773a7cfa500387b6bfad76952 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Thu, 30 Apr 2020 09:38:05 +0200 Subject: Automatic code formatting Also add git hooks that checks formatting --- tests/test_escapes/code.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/test_escapes') diff --git a/tests/test_escapes/code.php b/tests/test_escapes/code.php index d1a64c7..a1904c8 100644 --- a/tests/test_escapes/code.php +++ b/tests/test_escapes/code.php @@ -1,7 +1,8 @@ register_tag("my_echo", function($ste, $params, $sub) { +function test_func($ste) +{ + $ste->register_tag("my_echo", function ($ste, $params, $sub) { return $params["text"]; }); } -- cgit v1.2.3-70-g09d2