8000 Use hard-coded LF instead of platform-dependent PHP_EOL · symfony/symfony@598721b · GitHub
[go: up one dir, main page]

Skip to content

Commit 598721b

Browse files
valtzulyrixx
andauthored
Use hard-coded LF instead of platform-dependent PHP_EOL
Co-authored-by: Grégoire Pineau <lyrixx@lyrixx.info>
1 parent 973dd8c commit 598721b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Workflow/Dumper/PlantUmlDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private function getState(string $place, Definition $definition, Marking $markin
209209
$description = $workflowMetadata->getMetadata('description', $place);
210210
if (null !== $description) {
211211
foreach (array_filter(explode("\n", $description)) as $line) {
212-
$output .= \PHP_EOL.$placeEscaped.' : '.$line;
212+
$output .= "\n".$placeEscaped.' : '.$line;
213213
}
214214
}
215215

0 commit comments

Comments
 (0)
0