Passed
Push — master ( 04360f...df9168 )
by Amin
02:43
created
src/AWS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct(array $config)
30 30
     {
31
-        $this->s3 = new S3Client($config);;
31
+        $this->s3 = new S3Client($config); ;
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
src/Export.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
             $this->getFilter()
61 61
         );
62 62
 
63
-        try{
63
+        try {
64 64
             $this->media->save(
65 65
                 $this->getFormat(),
66 66
                 $path
67 67
             );
68
-        }catch (ExceptionInterface $e){
68
+        } catch (ExceptionInterface $e) {
69 69
             throw new RuntimeException(sprintf(
70 70
                 "There was an error saving files: \n\n reason: \n %s",
71 71
                 $e->getMessage()
Please login to merge, or discard this patch.
src/FFMpeg.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
             throw new InvalidArgumentException("There is no file in this path: " . $path);
44 44
         }
45 45
 
46
-        try{
46
+        try {
47 47
             return new Media($this->ffmpeg->open($path), $path, $is_tmp);
48
-        }catch (ExceptionInterface $e){
48
+        } catch (ExceptionInterface $e) {
49 49
             throw new RuntimeException(sprintf("There was an error opening this file: \n\n reason: \n %s", $e->getMessage()));
50 50
         }
51 51
     }
Please login to merge, or discard this patch.
src/AutoRepresentations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
 
143 143
         $h = $this->getDimensions()[1];
144 144
 
145
-        $this->side_values = array_values(array_filter($this->side_values, function ($height) use ($h) {
145
+        $this->side_values = array_values(array_filter($this->side_values, function($height) use ($h) {
146 146
             return $height < $h;
147 147
         }));
148 148
     }
Please login to merge, or discard this patch.