mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
PHP 8.2: fixes for deprecated use of ${var} in strings
Summary: Note that PHP 8.2 implemented this deprecation: Using ${var} in strings is deprecated, use {$var} instead This change fixes some known cases. Ref T15196 Test Plan: - I checked with my big eyes that everything is as it should be Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: avivey, speck, tobiaswiese, Matthew, Cigaryno Maniphest Tasks: T15196 Differential Revision: https://we.phorge.it/D25098
This commit is contained in:
parent
42a8b73adb
commit
03c9bf575e
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ final class DiffusionHistoryQueryConduitAPIMethod
|
|||
$limit = $request->getValue('limit');
|
||||
|
||||
if (strlen($against_hash)) {
|
||||
$commit_range = "${against_hash}..${commit_hash}";
|
||||
$commit_range = "{$against_hash}..{$commit_hash}";
|
||||
} else {
|
||||
$commit_range = $commit_hash;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ final class HeraldTranscriptPHIDType extends PhabricatorPHIDType {
|
|||
$id = $xscript->getID();
|
||||
|
||||
$handle->setName(pht('Transcript %s', $id));
|
||||
$handle->setURI("/herald/transcript/${id}/");
|
||||
$handle->setURI("/herald/transcript/$id/");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue