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/Responses/UnsubscribeResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
         if ($statusCode == 204)
18 18
         {
19 19
             $this->succeed = TRUE;
20
-        }
21
-        else
20
+        } else
22 21
         {
23 22
             $this->parseErrorResponse($statusCode, $content);
24 23
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/GetSubscriptionAttributeResponse.php 1 patch
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
         if ($statusCode == 200)
29 29
         {
30 30
             $this->succeed = TRUE;
31
-        }
32
-        else
31
+        } else
33 32
         {
34 33
             $this->parseErrorResponse($statusCode, $content);
35 34
         }
@@ -39,12 +38,10 @@  discard block
 block discarded – undo
39 38
         try
40 39
         {
41 40
             $this->attributes = SubscriptionAttributes::fromXML($xmlReader);
42
-        }
43
-        catch (\Exception $e)
41
+        } catch (\Exception $e)
44 42
         {
45 43
             throw new MnsException($statusCode, $e->getMessage(), $e);
46
-        }
47
-        catch (\Throwable $t)
44
+        } catch (\Throwable $t)
48 45
         {
49 46
             throw new MnsException($statusCode, $t->getMessage());
50 47
         }
@@ -63,23 +60,19 @@  discard block
 block discarded – undo
63 60
                 throw new SubscriptionNotExistException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
64 61
             }
65 62
             throw new MnsException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
66
-        }
67
-        catch (\Exception $e)
63
+        } catch (\Exception $e)
68 64
         {
69 65
             if ($exception != NULL)
70 66
             {
71 67
                 throw $exception;
72
-            }
73
-            elseif ($e instanceof MnsException)
68
+            } elseif ($e instanceof MnsException)
74 69
             {
75 70
                 throw $e;
76
-            }
77
-            else
71
+            } else
78 72
             {
79 73
                 throw new MnsException($statusCode, $e->getMessage());
80 74
             }
81
-        }
82
-        catch (\Throwable $t)
75
+        } catch (\Throwable $t)
83 76
         {
84 77
             throw new MnsException($statusCode, $t->getMessage());
85 78
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/SetTopicAttributeResponse.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,23 +40,19 @@
 block discarded – undo
40 40
                 throw new TopicNotExistException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
41 41
             }
42 42
             throw new MnsException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
43
-        }
44
-        catch (\Exception $e)
43
+        } catch (\Exception $e)
45 44
         {
46 45
             if ($exception != NULL)
47 46
             {
48 47
                 throw $exception;
49
-            }
50
-            elseif ($e instanceof MnsException)
48
+            } elseif ($e instanceof MnsException)
51 49
             {
52 50
                 throw $e;
53
-            }
54
-            else
51
+            } else
55 52
             {
56 53
                 throw new MnsException($statusCode, $e->getMessage());
57 54
             }
58
-        }
59
-        catch (\Throwable $t)
55
+        } catch (\Throwable $t)
60 56
         {
61 57
             throw new MnsException($statusCode, $t->getMessage());
62 58
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/GetTopicAttributeResponse.php 1 patch
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
         if ($statusCode == 200)
29 29
         {
30 30
             $this->succeed = TRUE;
31
-        }
32
-        else
31
+        } else
33 32
         {
34 33
             $this->parseErrorResponse($statusCode, $content);
35 34
         }
@@ -38,12 +37,10 @@  discard block
 block discarded – undo
38 37
 
39 38
         try {
40 39
             $this->attributes = TopicAttributes::fromXML($xmlReader);
41
-        }
42
-        catch (\Exception $e)
40
+        } catch (\Exception $e)
43 41
         {
44 42
             throw new MnsException($statusCode, $e->getMessage(), $e);
45
-        }
46
-        catch (\Throwable $t)
43
+        } catch (\Throwable $t)
47 44
         {
48 45
             throw new MnsException($statusCode, $t->getMessage());
49 46
         }
@@ -62,23 +59,19 @@  discard block
 block discarded – undo
62 59
                 throw new TopicNotExistException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
63 60
             }
64 61
             throw new MnsException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
65
-        }
66
-        catch (\Exception $e)
62
+        } catch (\Exception $e)
67 63
         {
68 64
             if ($exception != NULL)
69 65
             {
70 66
                 throw $exception;
71
-            }
72
-            elseif ($e instanceof MnsException)
67
+            } elseif ($e instanceof MnsException)
73 68
             {
74 69
                 throw $e;
75
-            }
76
-            else
70
+            } else
77 71
             {
78 72
                 throw new MnsException($statusCode, $e->getMessage());
79 73
             }
80
-        }
81
-        catch (\Throwable $t)
74
+        } catch (\Throwable $t)
82 75
         {
83 76
             throw new MnsException($statusCode, $t->getMessage());
84 77
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/SubscribeResponse.php 1 patch
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@  discard block
 block discarded – undo
16 16
         if ($statusCode == 201 || $statusCode == 204)
17 17
         {
18 18
             $this->succeed = TRUE;
19
-        }
20
-        else
19
+        } else
21 20
         {
22 21
             $this->parseErrorResponse($statusCode, $content);
23 22
         }
@@ -40,23 +39,19 @@  discard block
 block discarded – undo
40 39
                 throw new SubscriptionAlreadyExistException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
41 40
             }
42 41
             throw new MnsException($statusCode, $result['Message'], $exception, $result['Code'], $result['RequestId'], $result['HostId']);
43
-        }
44
-        catch (\Exception $e)
42
+        } catch (\Exception $e)
45 43
         {
46 44
             if ($exception != NULL)
47 45
             {
48 46
                 throw $exception;
49
-            }
50
-            elseif ($e instanceof MnsException)
47
+            } elseif ($e instanceof MnsException)
51 48
             {
52 49
                 throw $e;
53
-            }
54
-            else
50
+            } else
55 51
             {
56 52
                 throw new MnsException($statusCode, $e->getMessage());
57 53
             }
58
-        }
59
-        catch (\Throwable $t)
54
+        } catch (\Throwable $t)
60 55
         {
61 56
             throw new MnsException($statusCode, $t->getMessage());
62 57
         }
Please login to merge, or discard this patch.
lib/AliyunMNS/Responses/ListTopicResponse.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.
lib/AliyunMNS/Model/QueueAttributes.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/Requests/ListTopicRequest.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/Requests/ListSubscriptionRequest.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.