Completed
Pull Request — master (#52)
by Nicolas
02:30
created
src/activities/transcoders/ImageTranscoder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $this->cpeLogger->log_out(
45 45
                 "INFO", 
46 46
                 basename(__FILE__), 
47
-                "Input Video metadata: " . print_r($metadata, true),
47
+                "Input Video metadata: ".print_r($metadata, true),
48 48
                 $this->activityLogKey
49 49
             );
50 50
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             $this->cpeLogger->log_out(
118 118
                 "ERROR", 
119 119
                 basename(__FILE__), 
120
-                "Execution of command '".$convertCmd."' failed: " . print_r($metadata, true). ". ".$e->getMessage(),
120
+                "Execution of command '".$convertCmd."' failed: ".print_r($metadata, true).". ".$e->getMessage(),
121 121
                 $this->activityLogKey
122 122
             );
123 123
             return false;
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         
162 162
         // Append output filename to path
163 163
         $pathToOutputFiles .=
164
-            "/" . $outputWanted->{'output_file_info'}['basename'];
164
+            "/".$outputWanted->{'output_file_info'}['basename'];
165 165
         
166 166
         $convertCmd = "convert $convertArgs $pathToOutputFiles";
167 167
 
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
             $pathToInputFile, $convertCmd);
185 185
 
186 186
         // Append output filename to path
187
-        $pathToOutputFiles .= "/" . $outputWanted->{'output_file_info'}['basename'];
187
+        $pathToOutputFiles .= "/".$outputWanted->{'output_file_info'}['basename'];
188 188
         // Replace ${output_file} by output filename and path to local disk
189 189
         $convertCmd = preg_replace('/\$\{output_file\}/',
190 190
             $pathToOutputFiles, $convertCmd);
Please login to merge, or discard this patch.
src/activities/BasicActivity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         else if (isset($this->input->{'input_asset'}->{'http'}))
110 110
         {
111 111
             // Pad HTTP input so it is cached in case of full encodes
112
-            $this->pathToInputFile = 'cache:' . $this->input->{'input_asset'}->{'http'};
112
+            $this->pathToInputFile = 'cache:'.$this->input->{'input_asset'}->{'http'};
113 113
         }
114 114
     }
115 115
     
Please login to merge, or discard this patch.