From faa751b3a0c441fd8c9a29ef075cfe277bfac5a9 Mon Sep 17 00:00:00 2001 From: Peter Rehm Date: Thu, 21 Sep 2017 17:36:59 +0200 Subject: [PATCH] Surpress chmod warnings --- src/PackageVersions/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PackageVersions/Installer.php b/src/PackageVersions/Installer.php index 579042d..b64a5f9 100644 --- a/src/PackageVersions/Installer.php +++ b/src/PackageVersions/Installer.php @@ -124,7 +124,7 @@ private static function writeVersionClassToFile(string $versionClassSource, Comp $io->write('ocramius/package-versions: Generating version class...'); file_put_contents($installPath, $versionClassSource); - chmod($installPath, 0664); + @chmod($installPath, 0664); $io->write('ocramius/package-versions: ...done generating version class'); }