Modify

Ticket #4 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

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

comment:1 Changed 6 years ago by knut

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.