Menu

Diff of /samples/remote/codeCoverageMain.php [r3] .. [r4]  Maximize  Restore

Switch to side-by-side view

--- a/samples/remote/codeCoverageMain.php
+++ b/samples/remote/codeCoverageMain.php
@@ -32,7 +32,7 @@
     // Notice the coverage recorder is of type RemoteCoverageRecorder
     $cov = new RemoteCoverageRecorder($includePaths, $excludePaths, $covReporter);
     // Pass the code coverage XML url into the generateReport function
-    $cov->generateReport($cov_url . urlencode("?phpcoverage-action=get-coverage-xml"), true);
+    $cov->generateReport($cov_url . "?phpcoverage-action=get-coverage-xml", true);
     $covReporter->printTextSummary($PHPCOVERAGE_REPORT_DIR . "/report.txt");
     // Clean up
     file_get_contents($cov_url . "?phpcoverage-action=cleanup");