Completed
Pull Request — master (#6)
by Benjamin
05:09 queued 02:48
created
Controller/MediaController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
                 $media = $this->get('alpixel_media.manager')->upload($file, $this->get('request')->get('folder'), $lifetime);
39 39
                 $path = $mediaPreview->generatePathFromSecretKey($media->getSecretKey());
40 40
                 $returnData[] = [
41
-                  'id'   => $media->getSecretKey(),
42
-                  'path' => $path,
43
-                  'name' => $media->getName(),
44
-              ];
41
+                    'id'   => $media->getSecretKey(),
42
+                    'path' => $path,
43
+                    'name' => $media->getName(),
44
+                ];
45 45
             }
46 46
         }
47 47
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
                     $path = 'upload/'.$media->getUri();
99 99
 
100
-                     // find the image and determine its type
100
+                        // find the image and determine its type
101 101
                     $image = $dataManager->find($filter, $path);
102 102
 
103 103
                     // run the filter
Please login to merge, or discard this patch.
Command/MediaCleanupCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function configure()
16 16
     {
17 17
         $this->setName('alpixel:media:cleanup')
18
-             ->setDescription('Cleaning unused media');
18
+                ->setDescription('Cleaning unused media');
19 19
     }
20 20
 
21 21
     public function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
Command/LiipImagineCleanupCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::configure();
18 18
         $this->setName('alpixel:media:liip_cleanup')
19
-             ->setDescription('Cleaning liip cache folders');
19
+                ->setDescription('Cleaning liip cache folders');
20 20
     }
21 21
 
22 22
     public function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.