From f8d795820e780a6322e054c26c581570613c14f0 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 3 Feb 2020 22:52:20 +0100 Subject: Reindent phpt files --- ext/tokenizer/tests/002.phpt | 12 +++++----- ext/tokenizer/tests/bug54089.phpt | 28 +++++++++++----------- ext/tokenizer/tests/token_get_all_variation19.phpt | 22 ++++++++--------- 3 files changed, 31 insertions(+), 31 deletions(-) (limited to 'ext/tokenizer') diff --git a/ext/tokenizer/tests/002.phpt b/ext/tokenizer/tests/002.phpt index 11b6d9f78e..e711023eef 100644 --- a/ext/tokenizer/tests/002.phpt +++ b/ext/tokenizer/tests/002.phpt @@ -6,15 +6,15 @@ token_get_all() ', - '', - '', - /* feel free to add more yourself */ - 'wrong syntax here' + '', + '', + '', + /* feel free to add more yourself */ + 'wrong syntax here' ); foreach ($strings as $s) { - var_dump(token_get_all($s)); + var_dump(token_get_all($s)); } echo "Done\n"; diff --git a/ext/tokenizer/tests/bug54089.phpt b/ext/tokenizer/tests/bug54089.phpt index ff461ecb78..d3dc834616 100644 --- a/ext/tokenizer/tests/bug54089.phpt +++ b/ext/tokenizer/tests/bug54089.phpt @@ -5,23 +5,23 @@ Bug #54089 (token_get_all() does not stop after __halt_compiler) --FILE-- diff --git a/ext/tokenizer/tests/token_get_all_variation19.phpt b/ext/tokenizer/tests/token_get_all_variation19.phpt index a853dd2e2f..3190b3fd16 100644 --- a/ext/tokenizer/tests/token_get_all_variation19.phpt +++ b/ext/tokenizer/tests/token_get_all_variation19.phpt @@ -35,17 +35,17 @@ $token_array = token_get_all($phpstr); $script = ""; // reconstruct a script (without open/close tags) from the token array foreach ($token_array as $token) { - if (is_array($token)) { - if (strncmp($token[1], '', 2) == 0) { - continue; - } - $script .= $token[1]; - } else { - $script .= $token; - } + if (is_array($token)) { + if (strncmp($token[1], '', 2) == 0) { + continue; + } + $script .= $token[1]; + } else { + $script .= $token; + } } var_dump($script); -- cgit v1.2.1