Passed
Push — master ( cdaf3e...206204 )
by Bjørn
05:37
created
build/webp-on-demand-1.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
      * @param  object  $options  Array of named options, such as 'quality' and 'metadata'
285 285
      * @throws \WebPConvert\Exceptions\WebPConvertException
286 286
      * @return void
287
-    */
287
+     */
288 288
     public static function convert($source, $destination, $options = [], $logger = null)
289 289
     {
290 290
         //return ConverterHelper::runConverterStack($source, $destination, $options, $logger);
Please login to merge, or discard this patch.
build/webp-convert.inc 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param  object  $options  Array of named options, such as 'quality' and 'metadata'
24 24
      * @throws \WebPConvert\Exceptions\WebPConvertException
25 25
      * @return void
26
-    */
26
+     */
27 27
     public static function convert($source, $destination, $options = [], $logger = null)
28 28
     {
29 29
         //return ConverterHelper::runConverterStack($source, $destination, $options, $logger);
@@ -799,7 +799,7 @@  discard block
 block discarded – undo
799 799
      * Check operationality of Cwebp converter.
800 800
      *
801 801
      */
802
-     /*
802
+        /*
803 803
     protected function checkOperationality()
804 804
     {
805 805
         parent::checkOperationality();
@@ -988,7 +988,7 @@  discard block
 block discarded – undo
988 988
         }
989 989
 
990 990
         if (!$success && $options['try-supplied-binary-for-os']) {
991
-          // Try supplied binary (if available for OS, and hash is correct)
991
+            // Try supplied binary (if available for OS, and hash is correct)
992 992
             if (isset(self::$suppliedBinariesInfo[PHP_OS])) {
993 993
                 $info = self::$suppliedBinariesInfo[PHP_OS];
994 994
 
@@ -1477,10 +1477,10 @@  discard block
 block discarded – undo
1477 1477
                     //prevent blending with default black
1478 1478
                     imagealphablending($dst, false);
1479 1479
 
1480
-                     //change the RGB values if you need, but leave alpha at 127
1480
+                        //change the RGB values if you need, but leave alpha at 127
1481 1481
                     $transparent = imagecolorallocatealpha($dst, 255, 255, 255, 127);
1482 1482
 
1483
-                     //simpler than flood fill
1483
+                        //simpler than flood fill
1484 1484
                     imagefilledrectangle($dst, 0, 0, imagesx($image), imagesy($image), $transparent);
1485 1485
                     imagealphablending($dst, true);     //restore default blending
1486 1486
 
Please login to merge, or discard this patch.
src/WebPConvert.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @param  object  $options  Array of named options, such as 'quality' and 'metadata'
18 18
      * @throws \WebPConvert\Exceptions\WebPConvertException
19 19
      * @return void
20
-    */
20
+     */
21 21
     public static function convert($source, $destination, $options = [], $logger = null)
22 22
     {
23 23
         //return ConverterHelper::runConverterStack($source, $destination, $options, $logger);
Please login to merge, or discard this patch.