summaryrefslogtreecommitdiff
path: root/ext/pdo_oci/tests/bug57702.phpt
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/pdo_oci/tests/bug57702.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/pdo_oci/tests/bug57702.phpt')
-rw-r--r--ext/pdo_oci/tests/bug57702.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/pdo_oci/tests/bug57702.phpt b/ext/pdo_oci/tests/bug57702.phpt
index 4389276195..82b50f9ce0 100644
--- a/ext/pdo_oci/tests/bug57702.phpt
+++ b/ext/pdo_oci/tests/bug57702.phpt
@@ -25,7 +25,7 @@ $stmt->execute();
function do_insert($db, $id, $data1, $data2)
{
- $db->beginTransaction();
+ $db->beginTransaction();
$stmt = $db->prepare("insert into bug57702 (id, data1, data2) values (:id, empty_blob(), empty_blob()) returning data1, data2 into :blob1, :blob2");
$stmt->bindParam(':id', $id);
$stmt->bindParam(':blob1', $blob1, PDO::PARAM_LOB);
@@ -34,10 +34,10 @@ function do_insert($db, $id, $data1, $data2)
$blob2 = null;
$stmt->execute();
- fwrite($blob1, $data1);
+ fwrite($blob1, $data1);
fclose($blob1);
- fwrite($blob2, $data2);
- fclose($blob2);
+ fwrite($blob2, $data2);
+ fclose($blob2);
$db->commit();
}
@@ -84,7 +84,7 @@ while ($stmt->fetch(PDO::FETCH_BOUND)) {
////////////////////
-echo "\nFourth Query\n";
+echo "\nFourth Query\n";
$a = array();
$i = 0;
@@ -101,7 +101,7 @@ for ($i = 0; $i < count($a); $i++) {
////////////////////
-echo "\nFifth Query\n";
+echo "\nFifth Query\n";
$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false); // Let's use streams
@@ -124,7 +124,7 @@ for ($i = 0; $i < count($a); $i++) {
////////////////////
-echo "\nSixth Query\n";
+echo "\nSixth Query\n";
$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false); // Let's use streams