Completed
Push — master ( 24e878...b1a1ff )
by Dmitry
02:06
created
lib/Install/Installer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public static function getBinaries(Event $event)
27 27
     {
28
-        $dir = self::getRootPath().'/bin';
28
+        $dir = self::getRootPath() . '/bin';
29 29
 
30 30
         if (!file_exists($dir)) {
31 31
             mkdir($dir);
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
         foreach (self::$extByPlatforms as $ext) {
37 37
             foreach (self::$tools as $tool) {
38 38
                 file_put_contents(
39
-                    $dir.'/'.$tool.$ext,
40
-                    fopen('https://github.com/nosilver4u/ewww-image-optimizer/raw/master/binaries/'.$tool.$ext, 'r')
39
+                    $dir . '/' . $tool . $ext,
40
+                    fopen('https://github.com/nosilver4u/ewww-image-optimizer/raw/master/binaries/' . $tool . $ext, 'r')
41 41
                 );
42
-                chmod($dir.'/'.$tool.$ext, 0754);
43
-                $event->getIO()->write($tool.$ext);
42
+                chmod($dir . '/' . $tool . $ext, 0754);
43
+                $event->getIO()->write($tool . $ext);
44 44
             }
45 45
         }
46 46
 
Please login to merge, or discard this patch.