diff --git a/classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php b/classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php
index 3c0527274e..2aea54f886 100644
--- a/classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php
+++ b/classes/phing/tasks/ext/phpdoc/PhingPhpDocumentorSetup.php
@@ -43,7 +43,7 @@ class PhingPhpDocumentorSetup extends phpDocumentor_setup
      * @param object $task The task we're working with, so we can pass it on to the ErrorTracker
      * @internal param string $configDir Directory in which to look for configuration files.
      */
-    public function __construct($configdir = null, $task)
+    public function __construct($configdir, $task)
     {
         global $_phpDocumentor_cvsphpfile_exts, $_phpDocumentor_setting, $_phpDocumentor_phpfile_exts;
 
diff --git a/classes/phing/util/FileUtils.php b/classes/phing/util/FileUtils.php
index f3d2268214..1fe87fdd81 100644
--- a/classes/phing/util/FileUtils.php
+++ b/classes/phing/util/FileUtils.php
@@ -98,9 +98,9 @@ public static function getChainedReader(Reader $in, &$filterChains, Project $pro
     public function copyFile(
         PhingFile $sourceFile,
         PhingFile $destFile,
-        $overwrite = false,
-        $preserveLastModified = true,
-        &$filterChains = null,
+        $overwrite,
+        $preserveLastModified,
+        &$filterChains,
         Project $project,
         $mode = 0755,
         $preservePermissions = true