Completed
Push — master ( 6a386f...5a4ef6 )
by dan
10:50 queued 08:28
created
EventSubscriber/UploaderSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use IrishDan\ResponsiveImageBundle\Event\UploaderEvent;
14 14
 use IrishDan\ResponsiveImageBundle\Event\UploaderEvents;
15 15
 use League\Flysystem\FilesystemInterface;
16
-
17 16
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
File/FileValidator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
         $guessedFileExtension = strtolower($file->guessExtension());
40 40
 
41 41
         if (!in_array($guessedFileExtension, $this->allowedTypes)) {
42
-          $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed';
42
+            $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed';
43 43
 
44
-          return false;
44
+            return false;
45 45
         }
46 46
 
47 47
         if (!in_array($fileExtension, $this->allowedTypes)) {
Please login to merge, or discard this patch.