Completed
Push — master ( e7767b...cf3161 )
by
unknown
09:26
created
Category
Twig/CropTwigExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
         $file = new UploadableFile($this->root_path, $croppable['image']);
60 60
         $name = $this->makeCropName($file, $coordinates);
61
-        $path = $file->getRootPath() . $name;
61
+        $path = $file->getRootPath().$name;
62 62
 
63 63
         if (!file_exists($path)) {
64 64
             $this->doCrop($file, $coordinates, $path);
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $ext    = $file->getExtension();
80 80
         $suffix = implode('_', $coordinates);
81 81
 
82
-        return preg_replace('/\.'. $ext .'$/ui', '_crop_'. $suffix .'.'. $ext, $file->getWebPath());
82
+        return preg_replace('/\.'.$ext.'$/ui', '_crop_'.$suffix.'.'.$ext, $file->getWebPath());
83 83
     }
84 84
 
85 85
     /**
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         if (!$image instanceof File) {
143 143
             if ($relative) {
144
-                $image = $this->root_path . $image;
144
+                $image = $this->root_path.$image;
145 145
             }
146 146
 
147 147
             $image = new File($image);
Please login to merge, or discard this patch.
Behavior/CroppableBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $this->columns = array();
32 32
 
33 33
             foreach (explode(',', $this->getParameter('columns')) as $column) {
34
-                $this->columns[trim($column)] = trim($column) .'_coordinates';
34
+                $this->columns[trim($column)] = trim($column).'_coordinates';
35 35
             }
36 36
         }
37 37
 
Please login to merge, or discard this patch.