summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:45:48 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:45:12 +0200
commit782352c54ad69c517e3c32b0dd2c25d74842647a (patch)
tree220bdc1e814e9f44b3578d49b3f239a3fdefa1d0 /ext/wddx
parent604d4bdae5037e021c1f9d35f08cbeddd610d84c (diff)
downloadphp-git-782352c54ad69c517e3c32b0dd2c25d74842647a.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/wddx')
-rw-r--r--ext/wddx/tests/bug27287.phpt4
-rw-r--r--ext/wddx/tests/bug35410.phpt4
-rw-r--r--ext/wddx/tests/bug35410_64bit.phpt4
-rw-r--r--ext/wddx/tests/bug70661.phpt4
-rw-r--r--ext/wddx/tests/bug73065.phpt2
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/wddx/tests/bug27287.phpt b/ext/wddx/tests/bug27287.phpt
index 72ac317aa0..f709b71a99 100644
--- a/ext/wddx/tests/bug27287.phpt
+++ b/ext/wddx/tests/bug27287.phpt
@@ -4,12 +4,12 @@ Bug #27287 (segfault with deserializing object data)
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php
-
+
class foo {
}
$foo = new foo();
$foo->abc = 'def';
-
+
$string = wddx_serialize_value($foo);
$bar = wddx_deserialize($string);
diff --git a/ext/wddx/tests/bug35410.phpt b/ext/wddx/tests/bug35410.phpt
index 3b4b9b62cf..27655c7bdc 100644
--- a/ext/wddx/tests/bug35410.phpt
+++ b/ext/wddx/tests/bug35410.phpt
@@ -1,8 +1,8 @@
--TEST--
#35410 (wddx_deserialize() doesn't handle large ints as keys properly)
--SKIPIF--
-<?php
- if (!extension_loaded("wddx")) print "skip";
+<?php
+ if (!extension_loaded("wddx")) print "skip";
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
?>
--FILE--
diff --git a/ext/wddx/tests/bug35410_64bit.phpt b/ext/wddx/tests/bug35410_64bit.phpt
index 15377b175e..8514170fcb 100644
--- a/ext/wddx/tests/bug35410_64bit.phpt
+++ b/ext/wddx/tests/bug35410_64bit.phpt
@@ -1,8 +1,8 @@
--TEST--
#35410 (wddx_deserialize() doesn't handle large ints as keys properly)
--SKIPIF--
-<?php
- if (!extension_loaded("wddx")) print "skip";
+<?php
+ if (!extension_loaded("wddx")) print "skip";
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
?>
--FILE--
diff --git a/ext/wddx/tests/bug70661.phpt b/ext/wddx/tests/bug70661.phpt
index b5629c85d6..402f81f276 100644
--- a/ext/wddx/tests/bug70661.phpt
+++ b/ext/wddx/tests/bug70661.phpt
@@ -43,12 +43,12 @@ var_dump($y);
function ptr2str($ptr)
{
$out = '';
-
+
for ($i = 0; $i < 8; $i++) {
$out .= chr($ptr & 0xff);
$ptr >>= 8;
}
-
+
return $out;
}
?>
diff --git a/ext/wddx/tests/bug73065.phpt b/ext/wddx/tests/bug73065.phpt
index ebf14858eb..056d95ca54 100644
--- a/ext/wddx/tests/bug73065.phpt
+++ b/ext/wddx/tests/bug73065.phpt
@@ -25,7 +25,7 @@ $xml1 = <<<XML
</array>
</wddxPacket>
XML;
-
+
$xml2 = <<<XML
<?xml version='1.0' ?>
<!DOCTYPE et SYSTEM 'w'>