diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 17:23:43 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:44:14 +0200 |
commit | 17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch) | |
tree | 8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/pdo_sqlite | |
parent | cc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff) | |
download | php-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r-- | ext/pdo_sqlite/tests/bug35336.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt | 8 | ||||
-rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_get_attribute.phpt | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/pdo_sqlite/tests/bug35336.phpt b/ext/pdo_sqlite/tests/bug35336.phpt index 59dbda38ba..b80ce629c2 100644 --- a/ext/pdo_sqlite/tests/bug35336.phpt +++ b/ext/pdo_sqlite/tests/bug35336.phpt @@ -20,7 +20,7 @@ $rez = $a->query ("SELECT * FROM test")->fetchAll(PDO::FETCH_CLASS, 'EEE'); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- hello world hello world Done diff --git a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt index ea6f22c054..31eec63e21 100644 --- a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt +++ b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt @@ -33,7 +33,7 @@ var_dump($st->fetchAll(PDO::FETCH_FUNC, 1)); $st = $db->query('SELECT * FROM testing'); var_dump($st->fetchAll(PDO::FETCH_FUNC, array('self', 'foo'))); -class foo { +class foo { public function method($x) { return "--- $x ---"; } @@ -43,15 +43,15 @@ class bar extends foo { $st = $db->query('SELECT * FROM testing'); var_dump($st->fetchAll(PDO::FETCH_FUNC, array($this, 'parent::method'))); } - + static public function test($x, $y) { return $x .'---'. $y; } - + private function test2($x, $y) { return $x; } - + public function test3($x, $y) { return $x .'==='. $y; } diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_get_attribute.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_get_attribute.phpt index d6e095d54a..56ad5c66b9 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_get_attribute.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_get_attribute.phpt @@ -4,7 +4,7 @@ PDO_sqlite: Testing getAttribute() <?php if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; ?> --FILE-- <?php - + $pdo = new PDO('sqlite::memory:'); var_dump($pdo->getAttribute(PDO::ATTR_SERVER_VERSION)); var_dump($pdo->getAttribute(PDO::ATTR_CLIENT_VERSION)); |