Completed
Push — master ( 2da831...e940cd )
by Dmitry
02:02
created
lib/Handler/ImageHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
 
33 33
             $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
34 34
 
35
-            if($handlers[$ext]) {
35
+            if ($handlers[$ext]) {
36 36
 
37
-                echo get_class()." обрабатывает файл: $file\n";
37
+                echo get_class() . " обрабатывает файл: $file\n";
38 38
 
39 39
 
40 40
                 switch ($ext) {
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
                         break;
44 44
                     case 'jpg':
45 45
                     case 'jpeg':
46
-                        $command =  sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original"));
46
+                        $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original"));
47 47
                         break;
48 48
                 }
49 49
                 if (!file_exists($file . ".original") && $command) {
50 50
                     copy($file, $file . ".original");
51
-                    exec($handlers[$ext]  . $command);
51
+                    exec($handlers[$ext] . $command);
52 52
                 }
53 53
 
54 54
             } else {
Please login to merge, or discard this patch.