We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc30c6 commit 2129d73Copy full SHA for 2129d73
src/Report/PHP.php
@@ -22,7 +22,7 @@ final class PHP
22
public function process(CodeCoverage $coverage, ?string $target = null): string
23
{
24
$buffer = "<?php
25
-return \unserialize(<<<'END_OF_COVERAGE_SERIALIZATION" . PHP_EOL . serialize($coverage) . PHP_EOL. 'END_OF_COVERAGE_SERIALIZATION' . PHP_EOL . ");";
+return \unserialize(<<<'END_OF_COVERAGE_SERIALIZATION'" . PHP_EOL . serialize($coverage) . PHP_EOL. 'END_OF_COVERAGE_SERIALIZATION' . PHP_EOL . ");";
26
27
if ($target !== null) {
28
Filesystem::createDirectory(dirname($target));
0 commit comments