Completed
Push — master ( 5b66cb...432070 )
by giu
02:53
created
src/Console/Installer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         // ask if the permissions should be changed
45 45
         if ($io->isInteractive()) {
46
-            $validator = function ($arg) {
46
+            $validator = function($arg) {
47 47
                 if (in_array($arg, ['Y', 'y', 'N', 'n'])) {
48 48
                     return $arg;
49 49
                 }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     public static function setFolderPermissions($dir, $io)
129 129
     {
130 130
         // Change the permissions on a path and output the results.
131
-        $changePerms = function ($path, $perms, $io) {
131
+        $changePerms = function($path, $perms, $io) {
132 132
             // Get permission bits from stat(2) result.
133 133
             $currentPerms = fileperms($path) & 0777;
134 134
             if (($currentPerms & $perms) == $perms) {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             }
144 144
         };
145 145
 
146
-        $walker = function ($dir, $perms, $io) use (&$walker, $changePerms) {
146
+        $walker = function($dir, $perms, $io) use (&$walker, $changePerms) {
147 147
             $files = array_diff(scandir($dir), ['.', '..']);
148 148
             foreach ($files as $file) {
149 149
                 $path = $dir . '/' . $file;
Please login to merge, or discard this patch.