Test Failed
Push — master ( 2e7fdc...e1c530 )
by Dev
04:51
created
src/EventListener/MediaListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
             $this->eventDispatcher->addListener(
98 98
                 KernelEvents::TERMINATE,
99
-                function () use ($mapping, $media) {
99
+                function() use ($mapping, $media) {
100 100
                     $this->generateCache($media);
101 101
                 }
102 102
             );
Please login to merge, or discard this patch.
src/EventListener/MediaCacheGeneratorTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         $pathWebP = $this->projectDir.'/public/'.$media->getRelativeDir().'/'.$filter.'/'.$media->getSlug().'.webp';
119 119
         $webPConverterOptions = self::$webPConverterOptions;
120 120
 
121
-        $this->pool->add(function () use ($projectDir, $pathJpg, $pathWebP, $webPConverterOptions, $filter) {
121
+        $this->pool->add(function() use ($projectDir, $pathJpg, $pathWebP, $webPConverterOptions, $filter) {
122 122
             // took 46s (vs 43s) to add liip generation in async
123 123
             //exec($projectDir.'/bin/console liip:imagine:cache:resolve "'.$path.'" --force --filter='.$filter
124 124
             //.' >/dev/null 2>&1 &');
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $source = $this->projectDir.$media->getPath();
133 133
         //self::createWebPStatic($destination, $source);
134 134
 
135
-        $this->pool->add(function () use ($destination, $source) {
135
+        $this->pool->add(function() use ($destination, $source) {
136 136
             self::createWebPStatic($destination, $source);
137 137
         });
138 138
     }
Please login to merge, or discard this patch.