summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 15:37:22 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:43:12 +0200
commit7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch)
tree31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/wddx
parentafd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff)
downloadphp-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.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 e068c20a7a..702f785bf0 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 aa301aa838..fcee1f7a84 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'>