Skip to content

Commit 783d814

Browse files
committed
Remove chmod as it's giving warnings
Also it's better to let the user control it them selves using `umask()`, removing the chmod will also make it compatible with windows.
1 parent 8eeb904 commit 783d814

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Generator/AbstractTypeGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ public function generateClass(array $config, $outputDirectory, $mode = false)
365365
}
366366
if (($mode & self::MODE_OVERRIDE) || !file_exists($path)) {
367367
file_put_contents($path, $code);
368-
chmod($path, 0664);
369368
}
370369
}
371370
}

0 commit comments

Comments
 (0)