Skip to content

Commit 9fad878

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Workflow] Fix deprecated syntax for interpolated strings
2 parents 505a77f + 666681a commit 9fad878

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dumper/PlantUmlDumper.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ public function dump(Definition $definition, Marking $marking = null, array $opt
103103
}
104104

105105
$lines = [
106-
"$fromEscaped -${transitionColor}-> ${transitionEscaped}${transitionLabel}",
107-
"$transitionEscaped -${transitionColor}-> ${toEscaped}${transitionLabel}",
106+
"{$fromEscaped} -{$transitionColor}-> {$transitionEscaped}{$transitionLabel}",
107+
"{$transitionEscaped} -{$transitionColor}-> {$toEscaped}{$transitionLabel}",
108108
];
109109
foreach ($lines as $line) {
110110
if (!\in_array($line, $code)) {
111111
$code[] = $line;
112112
}
113113
}
114114
} else {
115-
$code[] = "$fromEscaped -${transitionColor}-> $toEscaped: $transitionEscapedWithStyle";
115+
$code[] = "{$fromEscaped} -{$transitionColor}-> {$toEscaped}: {$transitionEscapedWithStyle}";
116116
}
117117
}
118118
}

0 commit comments

Comments
 (0)