Changeset 41

Show
Ignore:
Timestamp:
03/09/06 16:11:58 (3 years ago)
Author:
mrook
Message:

Remove PHP5 reflection workaround (the bug was fixed in PHP5 upstream)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/phing/tasks/ext/coverage/CoverageReportTask.php

    r40 r41  
    287287                        $classStartLine = $reflection->getStartLine(); 
    288288 
    289                         // Strange PHP5 reflection bug, classes without parent class or implemented interfaces seem to start one line off 
    290                         if ($reflection->getParentClass() == NULL && count($reflection->getInterfaces()) == 0) 
    291                         { 
    292                                 $classStartLine--; 
    293                         } 
    294  
    295289                        $classElement->appendChild($this->transformSourceFile($basename, $filename, $coverageInformation, $classStartLine)); 
    296290