com phpruntests: Fixing quotes: src/testcase/sections/configurationsections/rtDeflatePostSection.php
src/testcase/sections/configurationsections/rtGzipPostSection.php src/testcase/sections/configurationsections/rtPostRawSection.php
src/testcase/sections/configurationsections/rtPostSection.php
| From: | David Soria Parra | Date: | Mon, 04 May 2009 16:26:43 +0000 |
| Subject: | com phpruntests: Fixing quotes: src/testcase/sections/configurationsections/rtDeflatePostSection.php src/testcase/sections/configurationsections/rtGzipPostSection.php src/testcase/sections/configurationsections/rtPostRawSection.php src/testcase/sections/configurationsections/rtPostSection.php |
||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66495@lists.php.net to get a copy of this message | ||
Commit: 3d038b891e86a11cec4d1793959c9565ecba23ac
Author: Zoe Slattery <zoe@php.net> Mon, 4 May 2009 16:26:43 +0000
Parents: 64fefb318e4152a121055d7001ea6df814b776bf
Branches: master
Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=3d038b891e86a11cec4d1793959c9565ecba23ac
Log:
Fixing quotes
Changed paths:
M src/testcase/sections/configurationsections/rtDeflatePostSection.php
M src/testcase/sections/configurationsections/rtGzipPostSection.php
M src/testcase/sections/configurationsections/rtPostRawSection.php
M src/testcase/sections/configurationsections/rtPostSection.php
Diff:
diff --git a/src/testcase/sections/configurationsections/rtDeflatePostSection.php
b/src/testcase/sections/configurationsections/rtDeflatePostSection.php
index 6e43015..21aca2f 100644
--- a/src/testcase/sections/configurationsections/rtDeflatePostSection.php
+++ b/src/testcase/sections/configurationsections/rtDeflatePostSection.php
@@ -19,7 +19,7 @@ class rtDeflatePostSection extends rtConfigurationSection
protected function init()
{
- $postString = implode('\n', $this->sectionContents);
+ $postString = implode("\n", $this->sectionContents);
$compressedPostString = gzcompress($postString);
$this->postVariables['CONTENT_TYPE'] =
'application/x-www-form-urlencoded';
diff --git a/src/testcase/sections/configurationsections/rtGzipPostSection.php
b/src/testcase/sections/configurationsections/rtGzipPostSection.php
index dfabdce..463aedb 100644
--- a/src/testcase/sections/configurationsections/rtGzipPostSection.php
+++ b/src/testcase/sections/configurationsections/rtGzipPostSection.php
@@ -19,7 +19,7 @@ class rtGzipPostSection extends rtConfigurationSection
protected function init()
{
- $postString = implode('\n', $this->sectionContents);
+ $postString = implode("\n", $this->sectionContents);
$gzipPostString = gzencode($postString);
$this->postVariables['CONTENT_TYPE'] =
'application/x-www-form-urlencoded';
diff --git a/src/testcase/sections/configurationsections/rtPostRawSection.php
b/src/testcase/sections/configurationsections/rtPostRawSection.php
index d140273..3631227 100644
--- a/src/testcase/sections/configurationsections/rtPostRawSection.php
+++ b/src/testcase/sections/configurationsections/rtPostRawSection.php
@@ -32,7 +32,7 @@ class rtPostRawSection extends rtConfigurationSection
}
}
- $postString = implode('\n', $postContents);
+ $postString = implode("\n", $postContents);
$this->postVariables['CONTENT_LENGTH'] = strlen($postString);
$this->postVariables['REQUEST_METHOD'] = 'POST';
diff --git a/src/testcase/sections/configurationsections/rtPostSection.php
b/src/testcase/sections/configurationsections/rtPostSection.php
index 618922f..a119ccc 100644
--- a/src/testcase/sections/configurationsections/rtPostSection.php
+++ b/src/testcase/sections/configurationsections/rtPostSection.php
@@ -19,7 +19,7 @@ class rtPostSection extends rtConfigurationSection
protected function init()
{
- $postString = implode('\n', $this->sectionContents);
+ $postString = implode("\n", $this->sectionContents);
$this->postVariables['CONTENT_TYPE'] =
'application/x-www-form-urlencoded';
$this->postVariables['CONTENT_LENGTH'] = strlen($postString);
$this->postVariables['REQUEST_METHOD'] = 'POST';