summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/26async_query_prepared.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/pgsql/tests/26async_query_prepared.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/pgsql/tests/26async_query_prepared.phpt')
-rw-r--r--ext/pgsql/tests/26async_query_prepared.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/pgsql/tests/26async_query_prepared.phpt b/ext/pgsql/tests/26async_query_prepared.phpt
index bda363b750..33ca7c7bfa 100644
--- a/ext/pgsql/tests/26async_query_prepared.phpt
+++ b/ext/pgsql/tests/26async_query_prepared.phpt
@@ -21,7 +21,7 @@ if ($version['protocol'] >= 3) {
if (pg_connection_status($db) === PGSQL_CONNECTION_BAD) {
echo "pg_connection_status() error\n";
}
- if (!($result = pg_get_result($db)))
+ if (!($result = pg_get_result($db)))
{
echo "pg_get_result() error\n";
}
@@ -34,7 +34,7 @@ if ($version['protocol'] >= 3) {
if (pg_connection_status($db) === PGSQL_CONNECTION_BAD) {
echo "pg_connection_status() error\n";
}
- if (!($result = pg_get_result($db)))
+ if (!($result = pg_get_result($db)))
{
echo "pg_get_result() error\n";
}
@@ -42,19 +42,19 @@ if ($version['protocol'] >= 3) {
if (!($rows = pg_num_rows($result))) {
echo "pg_num_rows() error\n";
}
- for ($i=0; $i < $rows; $i++)
+ for ($i=0; $i < $rows; $i++)
{
pg_fetch_array($result, $i, PGSQL_NUM);
}
- for ($i=0; $i < $rows; $i++)
+ for ($i=0; $i < $rows; $i++)
{
pg_fetch_object($result);
}
- for ($i=0; $i < $rows; $i++)
+ for ($i=0; $i < $rows; $i++)
{
pg_fetch_row($result, $i);
}
- for ($i=0; $i < $rows; $i++)
+ for ($i=0; $i < $rows; $i++)
{
pg_fetch_result($result, $i, 0);
}
@@ -76,7 +76,7 @@ if ($version['protocol'] >= 3) {
if (pg_connection_status($db) === PGSQL_CONNECTION_BAD) {
echo "pg_connection_status() error\n";
}
- if (!($result = pg_get_result($db)))
+ if (!($result = pg_get_result($db)))
{
echo "pg_get_result() error\n";
}
@@ -90,7 +90,7 @@ if ($version['protocol'] >= 3) {
if (pg_connection_status($db) === PGSQL_CONNECTION_BAD) {
echo "pg_connection_status() error\n";
}
- if (!($result = pg_get_result($db)))
+ if (!($result = pg_get_result($db)))
{
echo "pg_get_result() error\n";
}