Test Failed
Push — master ( 390c0f...bea1ad )
by Alexey
05:07
created
system/Inji/Tools.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     public static function resizeImage($img_path, $max_width = 1000, $max_height = 1000, $crop = false, $pos = 'center') {
98 98
         ini_set("gd.jpeg_ignore_warning", 1);
99
-        if(!getimagesize($img_path)){
99
+        if (!getimagesize($img_path)) {
100 100
             return false;
101 101
         }
102 102
         list($img_width, $img_height, $img_type, $img_tag) = getimagesize($img_path);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     public static function resizeImage($img_path, $max_width = 1000, $max_height = 1000, $crop = false, $pos = 'center') {
98 98
         ini_set("gd.jpeg_ignore_warning", 1);
99
-        if(!getimagesize($img_path)){
99
+        if(!getimagesize($img_path)) {
100 100
             return false;
101 101
         }
102 102
         list($img_width, $img_height, $img_type, $img_tag) = getimagesize($img_path);
Please login to merge, or discard this patch.