Changeset 28

Show
Ignore:
Timestamp:
02/21/06 18:34:41 (3 years ago)
Author:
knut
Message:

Made PhpLintTask work with filsets with directory different from '.' (Ticket #4)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/classes/phing/tasks/ext/PhpLintTask.php

    r2 r28  
    4242        $ds = $fs->getDirectoryScanner($project); 
    4343        $files = $ds->getIncludedFiles(); 
     44        $dir = $fs->getDir($this->project)->getPath(); 
    4445        foreach($files as $file) { 
    45           $this->lint($file); 
     46          $this->lint($dir.DIRECTORY_SEPARATOR.$file); 
    4647        } 
    4748      }