summaryrefslogtreecommitdiff
path: root/ext/tokenizer
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /ext/tokenizer
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/tokenizer')
-rw-r--r--ext/tokenizer/tests/001.phpt2
-rw-r--r--ext/tokenizer/tests/003.phpt2
-rw-r--r--ext/tokenizer/tests/bug54089.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation1.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation10.phpt10
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/tokenizer/tests/001.phpt b/ext/tokenizer/tests/001.phpt
index a09e5ef19c..4c6295cdf8 100644
--- a/ext/tokenizer/tests/001.phpt
+++ b/ext/tokenizer/tests/001.phpt
@@ -131,7 +131,7 @@ echo token_name(array()), "\n";
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
T_INCLUDE
T_INCLUDE_ONCE
T_EVAL
diff --git a/ext/tokenizer/tests/003.phpt b/ext/tokenizer/tests/003.phpt
index fdcf7748a8..3ba6d594df 100644
--- a/ext/tokenizer/tests/003.phpt
+++ b/ext/tokenizer/tests/003.phpt
@@ -13,7 +13,7 @@ var_dump(token_get_all(-1));
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: token_get_all() expects parameter 1 to be string, array given in %s on line %d
NULL
diff --git a/ext/tokenizer/tests/bug54089.phpt b/ext/tokenizer/tests/bug54089.phpt
index 77a4c1f324..ff461ecb78 100644
--- a/ext/tokenizer/tests/bug54089.phpt
+++ b/ext/tokenizer/tests/bug54089.phpt
@@ -15,7 +15,7 @@ $codes = array(
foreach ($codes as $code) {
$tokens = token_get_all($code);
var_dump($tokens);
-
+
$code = '';
foreach ($tokens as $t)
{
diff --git a/ext/tokenizer/tests/token_get_all_variation1.phpt b/ext/tokenizer/tests/token_get_all_variation1.phpt
index 276453fd15..485f112565 100644
--- a/ext/tokenizer/tests/token_get_all_variation1.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation1.phpt
@@ -71,7 +71,7 @@ $source_values = array(
// object data
/*23*/ new MyClass(),
-
+
// resource data
$fp,
diff --git a/ext/tokenizer/tests/token_get_all_variation10.phpt b/ext/tokenizer/tests/token_get_all_variation10.phpt
index 55e9d7edf8..af2e413d38 100644
--- a/ext/tokenizer/tests/token_get_all_variation10.phpt
+++ b/ext/tokenizer/tests/token_get_all_variation10.phpt
@@ -25,17 +25,17 @@ $b = 0;
$source = array (
// int const
- '<?php $a = 1 + 034; $b = $a + 0x3F; ?>',
-
+ '<?php $a = 1 + 034; $b = $a + 0x3F; ?>',
+
// float const
'<?php $a = 0.23E-2 + 0.43e2 + 0.5; ?>',
// string const
- '<?php $a = "hello ".\'world\'; ?>',
+ '<?php $a = "hello ".\'world\'; ?>',
// bool const
- "<?php \$a = (\$b)? true : false; ?>",
- "<?php \$b = (\$a)? FALSE : TRUE; ?>",
+ "<?php \$a = (\$b)? true : false; ?>",
+ "<?php \$b = (\$a)? FALSE : TRUE; ?>",
// null const
'<?php $b = null | NULL; ?>'