Passed
Push — master ( 3960d3...0f444d )
by Kishan
02:05
created
index.php 1 patch
Braces   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,12 @@
 block discarded – undo
245 245
     } 
246 246
     ?>
247 247
 
248
-    <div id="" class="g-access-token"><?php if ($google_access_token) echo "Hello"; else echo ""; ?></div>
248
+    <div id="" class="g-access-token"><?php if ($google_access_token) {
249
+    echo "Hello";
250
+} else {
251
+    echo "";
252
+}
253
+?></div>
249 254
 
250 255
     <!-- Footer -->
251 256
 
Please login to merge, or discard this patch.
email.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@
 block discarded – undo
365 365
     } catch (Exception $e) {
366 366
         echo 'Email could not be sent. Mailer Error: ', $mail->ErrorInfo;
367 367
     }
368
-}else {
368
+} else {
369 369
     echo "Email id is not provided Or Downloading failed";
370 370
 }
371 371
 ?>
372 372
\ No newline at end of file
Please login to merge, or discard this patch.
zipper.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,9 @@
 block discarded – undo
45 45
             foreach ($files as $file) {
46 46
                 $file = str_replace('\\', '/', $file);
47 47
                 // Ignore "." and ".." folders
48
-                if (in_array(substr($file, strrpos($file, '/') + 1), array('.', '..')))
49
-                    continue;
48
+                if (in_array(substr($file, strrpos($file, '/') + 1), array('.', '..'))) {
49
+                                    continue;
50
+                }
50 51
                 if (is_dir($file) === true) {
51 52
                     $a[] = array(
52 53
                     'type' => 'dir',
Please login to merge, or discard this patch.
google_drive/google_login.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
             } catch (Exception $e) {
54 54
                 echo "Gearman Client unable to handle request : " . $e->getMessage();
55 55
             }  
56
-        }
57
-        else {
56
+        } else {
58 57
             echo "Gearman Does Not Support";
59 58
         }
60 59
         $response = "Your Albums Will successfully backuped with in few time!!!";
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
                 } catch (Exception $e) {
74 73
                     echo "Gearman Client unable to handle request : " . $e->getMessage();
75 74
                 }  
76
-            }
77
-            else {
75
+            } else {
78 76
                 echo "Gearman Does Not Support";
79 77
             }
80 78
         }
@@ -99,8 +97,7 @@  discard block
 block discarded – undo
99 97
                         } catch (Exception $e) {
100 98
                             echo "Gearman Client unable to handle request : " . $e->getMessage();
101 99
                         }  
102
-                    }
103
-                    else {
100
+                    } else {
104 101
                         echo "Gearman Does Not Support";
105 102
                     }
106 103
                 }
Please login to merge, or discard this patch.
BackgroundWorker.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
                     'data' => $fileContent, 'mimeType' => 'image/jpeg',
96 96
                     'uploadType' => 'multipart', 'fields' => 'id')
97 97
                 );
98
-            }catch (Exception $e) {
98
+            } catch (Exception $e) {
99 99
                 print "An error occurred: " . $e->getMessage();
100 100
             }
101 101
 
Please login to merge, or discard this patch.