From 642d42326f7678030a0e74442215fdf5a11779d6 Mon Sep 17 00:00:00 2001 From: rector-bot Date: Mon, 6 Jul 2020 00:04:12 +0000 Subject: [PATCH] fixup! remove func call from methods calls --- .../src/OutputFormatter/MarkdownDumpNodesOutputFormatter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/documentation-generator/src/OutputFormatter/MarkdownDumpNodesOutputFormatter.php b/utils/documentation-generator/src/OutputFormatter/MarkdownDumpNodesOutputFormatter.php index 5eca8e39466..9734672d936 100644 --- a/utils/documentation-generator/src/OutputFormatter/MarkdownDumpNodesOutputFormatter.php +++ b/utils/documentation-generator/src/OutputFormatter/MarkdownDumpNodesOutputFormatter.php @@ -85,6 +85,7 @@ final class MarkdownDumpNodesOutputFormatter $this->symfonyStyle->newLine(); $this->symfonyStyle->writeln('#### Example PHP Code'); $this->symfonyStyle->newLine(); + $message = sprintf('```php%s%s%s```', PHP_EOL, $nodeInfo->getPrintedContent(), PHP_EOL); $this->symfonyStyle->writeln($message); }