Passed
Push — master ( 25fb9a...142153 )
by Bjørn
01:49
created
src/Detectors/SniffFirstFourBytes.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     protected function doDetect($filePath)
26 26
     {
27
-    	// PNG, GIF, JFIF JPEG, EXIF JPEF (respectively)
27
+        // PNG, GIF, JFIF JPEG, EXIF JPEF (respectively)
28 28
         $known = [
29 29
             '89504E47' => 'image/png',
30 30
             '47494638' => 'image/gif',
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             'FFD8FFE1' => 'image/jpeg',  //  EXIF JPEG
33 33
         ];
34 34
 
35
-    	$handle = @fopen($filePath, 'r');
35
+        $handle = @fopen($filePath, 'r');
36 36
         if ($handle === false) {
37 37
             return;
38 38
         }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
         $known = [
29 29
             '89504E47' => 'image/png',
30 30
             '47494638' => 'image/gif',
31
-            'FFD8FFE0' => 'image/jpeg',  //  JFIF JPEG
32
-            'FFD8FFE1' => 'image/jpeg',  //  EXIF JPEG
31
+            'FFD8FFE0' => 'image/jpeg', //  JFIF JPEG
32
+            'FFD8FFE1' => 'image/jpeg', //  EXIF JPEG
33 33
         ];
34 34
 
35 35
     	$handle = @fopen($filePath, 'r');
Please login to merge, or discard this patch.