Helgi Þormar Þorbjörnsson
2011-07-05 00:06:58 UTC
dufuz Tue, 05 Jul 2011 00:06:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312920
Log:
No trimming of lines when saving coverage lines as it can mess with expected output.
Changed paths:
U pear/pear-core/trunk/PEAR/RunTest.php
Modified: pear/pear-core/trunk/PEAR/RunTest.php
===================================================================
--- pear/pear-core/trunk/PEAR/RunTest.php 2011-07-04 23:38:09 UTC (rev 312919)
+++ pear/pear-core/trunk/PEAR/RunTest.php 2011-07-05 00:06:58 UTC (rev 312920)
@@ -389,8 +389,6 @@
$coverage_shutdown = 'coverage_shutdown';
for ($i = 0; $i < $numLines; $i++) {
- $lines[$i] = trim($lines[$i]);
-
if ($lines[$i] == '<?' || $lines[$i] == '<?php') {
unset($lines[$i]);
}
Revision: http://svn.php.net/viewvc?view=revision&revision=312920
Log:
No trimming of lines when saving coverage lines as it can mess with expected output.
Changed paths:
U pear/pear-core/trunk/PEAR/RunTest.php
Modified: pear/pear-core/trunk/PEAR/RunTest.php
===================================================================
--- pear/pear-core/trunk/PEAR/RunTest.php 2011-07-04 23:38:09 UTC (rev 312919)
+++ pear/pear-core/trunk/PEAR/RunTest.php 2011-07-05 00:06:58 UTC (rev 312920)
@@ -389,8 +389,6 @@
$coverage_shutdown = 'coverage_shutdown';
for ($i = 0; $i < $numLines; $i++) {
- $lines[$i] = trim($lines[$i]);
-
if ($lines[$i] == '<?' || $lines[$i] == '<?php') {
unset($lines[$i]);
}