Skip to content

Commit

Permalink
fix: Deprecated: Using ${var} in strings is deprecated, use {$var} in…
Browse files Browse the repository at this point in the history
…stead
  • Loading branch information
ambroisemaupate committed Nov 10, 2023
1 parent 7bdd4df commit fae9914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/RoadizCoreBundle/migrations/Version20230628143106.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function up(Schema $schema): void
$nodeSourceClass = NodesSources::class;
$this->addSql(<<<EOF
UPDATE log
SET log.entity_class = '${nodeSourceClass}',
SET log.entity_class = '{$nodeSourceClass}',
log.entity_id = log.node_source_id
WHERE log.node_source_id IS NOT NULL
EOF
Expand All @@ -52,7 +52,7 @@ public function down(Schema $schema): void
$this->addSql(<<<EOF
UPDATE log
SET log.node_source_id = log.entity_id
WHERE log.entity_class = '${nodeSourceClass}'
WHERE log.entity_class = '{$nodeSourceClass}'
EOF
);

Expand Down

0 comments on commit fae9914

Please sign in to comment.