Passed
Push — master ( f7a67d...ea62c3 )
by Bruno
09:07
created
Formularium/Datatype/Datatype_file.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,9 +208,9 @@
 block discarded – undo
208 208
                         'Zero width or height'
209 209
                     );
210 210
                 }
211
-                $ratio = $width/$height;
211
+                $ratio = $width / $height;
212 212
                 $expected = $ratio;
213
-                if (abs(($ratio-$expected)/$expected) > 0.0001) {
213
+                if (abs(($ratio - $expected) / $expected) > 0.0001) {
214 214
                     throw new ValidatorException(
215 215
                         'Image width/height ratio should be ' . $ratio
216 216
                     );
Please login to merge, or discard this patch.