diff --git a/.gitignore b/.gitignore index e765ea56e..0e8555610 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ secret.asc package.github.yml package.hub.yml -*.hprof \ No newline at end of file +*.hprof +.phpintel/* diff --git a/packager/src-php/Tasks.php b/packager/src-php/Tasks.php index f80d800dd..d7308af18 100644 --- a/packager/src-php/Tasks.php +++ b/packager/src-php/Tasks.php @@ -114,7 +114,7 @@ static function createFile(string $path, string $content = '', bool $ignoreErrs * @param bool $ignoreErrs * @return bool */ - static function deleteFile(string $path, bool $ignoreErrs = false): bool + static function deleteFile(string $path, bool $ignoreErrs = true): bool { if (fs::exists($path)) { Console::log("-> delete file '{0}'", $path);