Skip to content

Commit eb889e2

Browse files
staabmclxmstaab
andauthored
pgsql compat preparation (#345)
Co-authored-by: Markus Staab <[email protected]> Co-authored-by: Markus Staab <[email protected]>
1 parent cadf7e4 commit eb889e2

11 files changed

+275
-237
lines changed

.phpstan-dba-mysqli.cache

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.phpstan-dba-pdo.cache

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/config/.phpstan-dba-mysqli.cache

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/config/.phpstan-dba-pdo.cache

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/config/.phpunit-phpstan-dba-mysqli.cache

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/config/.phpunit-phpstan-dba-pdo.cache

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/data/pdo-prepare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function queryBranches(PDO $pdo, bool $bool)
4949

5050
public function placeholderInData(PDO $pdo)
5151
{
52-
$query = 'SELECT adaid FROM ada WHERE email LIKE "hello?%"';
52+
$query = "SELECT adaid FROM ada WHERE email LIKE 'hello?%'";
5353
$stmt = $pdo->prepare($query);
5454
assertType('PDOStatement<array{adaid: int<-32768, 32767>, 0: int<-32768, 32767>}>', $stmt);
5555
$stmt->execute();

tests/default/data/pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function aggregateFunctions(PDO $pdo)
158158

159159
public function placeholderInData(PDO $pdo)
160160
{
161-
$query = 'SELECT adaid FROM ada WHERE email LIKE "hello?%"';
161+
$query = "SELECT adaid FROM ada WHERE email LIKE 'hello?%'";
162162
$stmt = $pdo->query($query, PDO::FETCH_ASSOC);
163163
assertType('PDOStatement<array{adaid: int<-32768, 32767>}>', $stmt);
164164

0 commit comments

Comments
 (0)