Modify ↓
Ticket #4 (closed defect: fixed)
Lint Task fails
| Reported by: | info@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.2.0 |
| Component: | Version: | 2.1.1 | |
| Keywords: | Cc: |
Description
The Lint task fails for me because the files to syntax check are not found, at least when I use a fileset with a directory different from ".". Seems that when the Lint task creates the file list, the fileset base path is ommitted.
Changing line 46 of tasks/ext/PhpLintTask.php to
$this->lint($fs->getDir($this->project)->getPath() . '/' . $file);
fixes this problem, though I am not sure if this will work all the time. For me, it does, however.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Thanks for reporting this issue. I've commited your fix into branches/2.2.