Skip to content

Commit 4da01d3

Browse files
committed
Code style
1 parent 5193c50 commit 4da01d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/Integration/AbstractIntegrationTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private function findPostgresAdvisoryLockInConnection(
9797
$lockCatalogId = ($id - $lockObjectId) / self::POSTGRES_BLOCK_SIZE;
9898

9999
$statement = $dbConnection->prepare(
100-
<<<SQL
100+
<<<'SQL'
101101
SELECT *
102102
FROM pg_locks
103103
WHERE locktype = 'advisory'
@@ -130,7 +130,7 @@ private function findAllPostgresAdvisoryLocks(): array
130130
$dbConnection = $this->initPostgresPdoConnection();
131131

132132
$statement = $dbConnection->prepare(
133-
<<<SQL
133+
<<<'SQL'
134134
SELECT *
135135
FROM pg_locks
136136
WHERE locktype = 'advisory'
@@ -149,7 +149,7 @@ private function findAllPostgresAdvisoryLocks(): array
149149
private function closeAllPostgresPdoConnections(): void
150150
{
151151
$this->initPostgresPdoConnection()->query(
152-
<<<SQL
152+
<<<'SQL'
153153
SELECT pg_terminate_backend(pid)
154154
FROM pg_stat_activity
155155
WHERE pid <> pg_backend_pid()

test/Integration/Locker/PostgresAdvisoryLockerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ private function initLocker(): PostgresAdvisoryLocker
369369
}
370370

371371
private function initPostgresLockId(
372-
string $lockKey
372+
string $lockKey,
373373
): PostgresLockId {
374374
return PostgresLockId::fromLockId(new LockId($lockKey));
375375
}

0 commit comments

Comments
 (0)