summaryrefslogtreecommitdiff
path: root/buildscripts/phing/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/phing/tasks')
-rw-r--r--buildscripts/phing/tasks/PhpLintTask.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/phing/tasks/PhpLintTask.php b/buildscripts/phing/tasks/PhpLintTask.php
index 6087f6a1..63ae6dde 100644
--- a/buildscripts/phing/tasks/PhpLintTask.php
+++ b/buildscripts/phing/tasks/PhpLintTask.php
@@ -41,8 +41,9 @@ class PhpLintTask extends Task {
foreach($this->filesets as $fs) {
$ds = $fs->getDirectoryScanner($project);
$files = $ds->getIncludedFiles();
+ $dir = $fs->getDir($this->project)->getPath();
foreach($files as $file) {
- $this->lint($file);
+ $this->lint($dir.DIRECTORY_SEPARATOR.$file);
}
}
}