GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 2208aa...b10c57 )
by milkmeowo
02:38
created
lib/AliyunMNS/Topic.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
         if ($phone)
69 69
         {
70 70
             return "sms:directsms:" . $phone;
71
-        }
72
-        else
71
+        } else
73 72
         {
74 73
             return "sms:directsms:anonymous";
75 74
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Exception/MnsException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
             if ($code >= 500)
17 17
             {
18 18
                 $mnsErrorCode = "ServerError";
19
-            }
20
-            else
19
+            } else
21 20
             {
22 21
                 $mnsErrorCode = "ClientError";
23 22
             }
Please login to merge, or discard this patch.
lib/AliyunMNS/Model/TopicAttributes.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,7 @@
 block discarded – undo
154 154
                         if ($loggingEnabled == "True")
155 155
                         {
156 156
                             $loggingEnabled = True;
157
-                        }
158
-                        else
157
+                        } else
159 158
                         {
160 159
                             $loggingEnabled = False;
161 160
                         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Model/MessageAttributes.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
                 {
41 41
                     $subAttributes->writeXML($xmlWriter);
42 42
                 }
43
-            }
44
-            else
43
+            } else
45 44
             {
46 45
                 $this->attributes->writeXML($xmlWriter);
47 46
             }
Please login to merge, or discard this patch.
lib/AliyunMNS/Model/SendMessageResponseItem.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@  discard block
 block discarded – undo
23 23
         {
24 24
             $this->messageId = $param1;
25 25
             $this->messageBodyMD5 = $param2;
26
-        }
27
-        else
26
+        } else
28 27
         {
29 28
             $this->errorCode = $param1;
30 29
             $this->errorMessage = $param2;
@@ -95,8 +94,7 @@  discard block
 block discarded – undo
95 94
                     if ($messageId != NULL)
96 95
                     {
97 96
                         return new SendMessageResponseItem(TRUE, $messageId, $messageBodyMD5);
98
-                    }
99
-                    else
97
+                    } else
100 98
                     {
101 99
                         return new SendMessageResponseItem(FALSE, $errorCode, $errorMessage);
102 100
                     }
@@ -108,8 +106,7 @@  discard block
 block discarded – undo
108 106
         if ($messageId != NULL)
109 107
         {
110 108
             return new SendMessageResponseItem(TRUE, $messageId, $messageBodyMD5);
111
-        }
112
-        else
109
+        } else
113 110
         {
114 111
             return new SendMessageResponseItem(FALSE, $errorCode, $errorMessage);
115 112
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Model/MailAttributes.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@  discard block
 block discarded – undo
90 90
         if ($this->addressType !== NULL)
91 91
         {
92 92
             $jsonArray[Constants::ADDRESS_TYPE] = $this->addressType;
93
-        }
94
-        else
93
+        } else
95 94
         {
96 95
             $jsonArray[Constants::ADDRESS_TYPE] = 0;
97 96
         }
@@ -100,8 +99,7 @@  discard block
 block discarded – undo
100 99
             if ($this->replyToAddress === TRUE)
101 100
             {
102 101
                 $jsonArray[Constants::REPLY_TO_ADDRESS] = "1";
103
-            }
104
-            else
102
+            } else
105 103
             {
106 104
                 $jsonArray[Constants::REPLY_TO_ADDRESS] = "0";
107 105
             }
@@ -111,8 +109,7 @@  discard block
 block discarded – undo
111 109
             if ($this->isHtml === TRUE)
112 110
             {
113 111
                 $jsonArray[Constants::IS_HTML] = "1";
114
-            }
115
-            else
112
+            } else
116 113
             {
117 114
                 $jsonArray[Constants::IS_HTML] = "0";
118 115
             }
Please login to merge, or discard this patch.
lib/AliyunMNS/Http/HttpClient.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -147,13 +147,11 @@
 block discarded – undo
147 147
                         }
148 148
                     }
149 149
                 );
150
-            }
151
-            else
150
+            } else
152 151
             {
153 152
                 return $this->client->sendAsync($request, $parameters);
154 153
             }
155
-        }
156
-        catch (TransferException $e)
154
+        } catch (TransferException $e)
157 155
         {
158 156
             $message = $e->getMessage();
159 157
             if ($e->hasResponse()) {
Please login to merge, or discard this patch.
lib/AliyunMNS/Requests/ListQueueRequest.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@  discard block
 block discarded – undo
29 29
         if ($retNum != NULL)
30 30
         {
31 31
             $this->setHeader("x-mns-ret-number", $retNum);
32
-        }
33
-        else
32
+        } else
34 33
         {
35 34
             $this->removeHeader("x-mns-ret-number");
36 35
         }
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
         if ($prefix != NULL)
48 47
         {
49 48
             $this->setHeader("x-mns-prefix", $prefix);
50
-        }
51
-        else
49
+        } else
52 50
         {
53 51
             $this->removeHeader("x-mns-prefix");
54 52
         }
@@ -65,8 +63,7 @@  discard block
 block discarded – undo
65 63
         if ($marker != NULL)
66 64
         {
67 65
             $this->setHeader("x-mns-marker", $marker);
68
-        }
69
-        else
66
+        } else
70 67
         {
71 68
             $this->removeHeader("x-mns-marker");
72 69
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/ListSubscriptionResponse.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -66,12 +66,10 @@  discard block
 block discarded – undo
66 66
                     }
67 67
                 }
68 68
             }
69
-        }
70
-        catch (\Exception $e)
69
+        } catch (\Exception $e)
71 70
         {
72 71
             throw new MnsException($statusCode, $e->getMessage(), $e);
73
-        }
74
-        catch (\Throwable $t)
72
+        } catch (\Throwable $t)
75 73
         {
76 74
             throw new MnsException($statusCode, $t->getMessage());
77 75
         }
@@ -97,23 +95,19 @@  discard block
 block discarded – undo
97 95
             $result = XMLParser::parseNormalError($xmlReader);
98 96
 
99 97
             throw new MnsException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
100
-        }
101
-        catch (\Exception $e)
98
+        } catch (\Exception $e)
102 99
         {
103 100
             if ($exception != NULL)
104 101
             {
105 102
                 throw $exception;
106
-            }
107
-            elseif ($e instanceof MnsException)
103
+            } elseif ($e instanceof MnsException)
108 104
             {
109 105
                 throw $e;
110
-            }
111
-            else
106
+            } else
112 107
             {
113 108
                 throw new MnsException($statusCode, $e->getMessage());
114 109
             }
115
-        }
116
-        catch (\Throwable $t)
110
+        } catch (\Throwable $t)
117 111
         {
118 112
             throw new MnsException($statusCode, $t->getMessage());
119 113
         }
Please login to merge, or discard this patch.