Skip to content

Commit 91c431c

Browse files
committed
Fix deprecated use of
1 parent a9270b5 commit 91c431c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/Services/DatabaseMigration.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private function version20180425203400(): void
218218
{
219219
$clientTableName = $this->database->applyPrefix(ClientRepository::TABLE_NAME);
220220
$this->database->write(<<< EOT
221-
ALTER TABLE ${clientTableName}
221+
ALTER TABLE {$clientTableName}
222222
ADD is_enabled BOOLEAN NOT NULL DEFAULT true
223223
EOT
224224
,);
@@ -228,7 +228,7 @@ private function version20200517071100(): void
228228
{
229229
$clientTableName = $this->database->applyPrefix(ClientRepository::TABLE_NAME);
230230
$this->database->write(<<< EOT
231-
ALTER TABLE ${clientTableName}
231+
ALTER TABLE {$clientTableName}
232232
ADD is_confidential BOOLEAN NOT NULL DEFAULT false
233233
EOT
234234
,);
@@ -238,7 +238,7 @@ private function version20200901163000(): void
238238
{
239239
$clientTableName = $this->database->applyPrefix(AuthCodeRepository::TABLE_NAME);
240240
$this->database->write(<<< EOT
241-
ALTER TABLE ${clientTableName}
241+
ALTER TABLE {$clientTableName}
242242
ADD nonce TEXT NULL
243243
EOT
244244
,);
@@ -248,7 +248,7 @@ private function version20210902113500(): void
248248
{
249249
$clientTableName = $this->database->applyPrefix(ClientRepository::TABLE_NAME);
250250
$this->database->write(<<< EOT
251-
ALTER TABLE ${clientTableName}
251+
ALTER TABLE {$clientTableName}
252252
ADD owner VARCHAR(191) NULL
253253
EOT
254254
,);
@@ -261,14 +261,14 @@ protected function version20210714113000(): void
261261
{
262262
$tableName = $this->database->applyPrefix(AccessTokenRepository::TABLE_NAME);
263263
$this->database->write(<<< EOT
264-
ALTER TABLE ${tableName}
264+
ALTER TABLE {$tableName}
265265
ADD auth_code_id VARCHAR(191) NULL
266266
EOT
267267
,);
268268

269269
$tableName = $this->database->applyPrefix(RefreshTokenRepository::TABLE_NAME);
270270
$this->database->write(<<< EOT
271-
ALTER TABLE ${tableName}
271+
ALTER TABLE {$tableName}
272272
ADD auth_code_id VARCHAR(191) NULL
273273
EOT
274274
,);
@@ -281,7 +281,7 @@ protected function version20210823141300(): void
281281
{
282282
$tableName = $this->database->applyPrefix(AccessTokenRepository::TABLE_NAME);
283283
$this->database->write(<<< EOT
284-
ALTER TABLE ${tableName}
284+
ALTER TABLE {$tableName}
285285
ADD requested_claims TEXT NULL
286286
EOT
287287
,);
@@ -316,7 +316,7 @@ protected function version20210908143500(): void
316316
{
317317
$clientTableName = $this->database->applyPrefix(ClientRepository::TABLE_NAME);
318318
$this->database->write(<<< EOT
319-
ALTER TABLE ${clientTableName}
319+
ALTER TABLE {$clientTableName}
320320
ADD post_logout_redirect_uri TEXT NULL
321321
EOT
322322
,);
@@ -329,7 +329,7 @@ protected function version20210916153400(): void
329329
{
330330
$clientTableName = $this->database->applyPrefix(ClientRepository::TABLE_NAME);
331331
$this->database->write(<<< EOT
332-
ALTER TABLE ${clientTableName}
332+
ALTER TABLE {$clientTableName}
333333
ADD backchannel_logout_uri TEXT NULL
334334
EOT
335335
,);

0 commit comments

Comments
 (0)