From cbcd2c8db57871ab730ec089d893b874c0491b16 Mon Sep 17 00:00:00 2001 From: Florian Engelhardt Date: Wed, 29 Jul 2020 10:45:42 +0200 Subject: [PATCH] OXDEV-3559 Fix parsing dot files --- src/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installer.php b/src/Installer.php index c8d252d..8c7c397 100644 --- a/src/Installer.php +++ b/src/Installer.php @@ -93,7 +93,7 @@ class Installer $jobRename = function (\SplFileInfo $file) use ($vendor, $package, $packageFull): void { $fileName = $file->getFilename(); $filePath = (string) $file; - if ($file->isDir() || strpos($fileName, '.') === 0 || ! is_writable($filePath)) { + if ($file->isDir() || !is_writable($filePath)) { return; } $contents = file_get_contents($filePath);