Completed
Push — master ( 086abf...2fdbf4 )
by Bjørn
19:00 queued 09:01
created
src/WebPConvert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
             ])->getDefinition());
144 144
 
145 145
         $supportedBy = [];
146
-        $uniqueOptions  = [];
146
+        $uniqueOptions = [];
147 147
 
148 148
         foreach ($converterIds as $converterId) {
149 149
             $c = ConverterFactory::makeConverter($converterId, '', '');
Please login to merge, or discard this patch.
src/Convert/Converters/BaseTraits/OptionsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
 
506 506
         $optionDefinitions = $uniqueOptions->getDefinitions();
507 507
         if ($filterOutOptionsWithoutUI) {
508
-            $optionDefinitions = array_filter($optionDefinitions, function ($value) {
508
+            $optionDefinitions = array_filter($optionDefinitions, function($value) {
509 509
                 return !is_null($value['ui']);
510 510
             });
511 511
             $optionDefinitions = array_values($optionDefinitions); // re-index
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
         //$generalOptions->setUI($this->getUIForGeneralOptions($imageType));
532 532
         $optionDefinitions = $generalOptions->getDefinitions();
533 533
         if ($filterOutOptionsWithoutUI) {
534
-            $optionDefinitions = array_filter($optionDefinitions, function ($value) {
534
+            $optionDefinitions = array_filter($optionDefinitions, function($value) {
535 535
                 return !is_null($value['ui']);
536 536
             });
537 537
             $optionDefinitions = array_values($optionDefinitions); // re-index
Please login to merge, or discard this patch.
src/Convert/Converters/Cwebp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -713,13 +713,13 @@
 block discarded – undo
713 713
 
714 714
         if (defined('WEBPCONVERT_CWEBP_PATH')) {
715 715
             $this->logLn('WEBPCONVERT_CWEBP_PATH was defined, so using that path and ignoring any other');
716
-            return [[constant('WEBPCONVERT_CWEBP_PATH')],[[], []]];
716
+            return [[constant('WEBPCONVERT_CWEBP_PATH')], [[], []]];
717 717
         }
718 718
         if (!empty(getenv('WEBPCONVERT_CWEBP_PATH'))) {
719 719
             $this->logLn(
720 720
                 'WEBPCONVERT_CWEBP_PATH environment variable was set, so using that path and ignoring any other'
721 721
             );
722
-            return [[getenv('WEBPCONVERT_CWEBP_PATH')],[[], []]];
722
+            return [[getenv('WEBPCONVERT_CWEBP_PATH')], [[], []]];
723 723
         }
724 724
 
725 725
         if ($this->options['try-cwebp']) {
Please login to merge, or discard this patch.