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 ( ae3ad2...c1f900 )
by
unknown
05:02
created
src/Route4Me/MyQ.php 2 patches
Unused Use Statements   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,13 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-use Route4Me\Common;
5
-/**
6
- * class MyQ
7
- *
8
- * Offers authentication to MyQ API, and access to garage door open/close/status functions
9
- *
10
- */
4
+
11 5
 class MyQException extends \Exception {}
12 6
 class MyQ {
13 7
     
Please login to merge, or discard this patch.
Switch Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -167,16 +167,16 @@
 block discarded – undo
167 167
             $this->_deviceId = $device->MyQDeviceId;
168 168
             foreach ($device->Attributes as $attr) {
169 169
                 switch ($attr->AttributeDisplayName) {
170
-                    case 'desc':
171
-                        $this->_doorName = $attr->Value;
172
-                        break;
173
-                    case 'doorstate':
174
-                        $this->_doorState = $attr->Value;
175
-                        // UpdatedTime is a timestamp in ms, so we truncate
176
-                        $this->_doorStateTime = (int)$attr->UpdatedTime / 1000;
177
-                        break;
178
-                    default:
179
-                        continue;
170
+                case 'desc':
171
+                    $this->_doorName = $attr->Value;
172
+                    break;
173
+                case 'doorstate':
174
+                    $this->_doorState = $attr->Value;
175
+                    // UpdatedTime is a timestamp in ms, so we truncate
176
+                    $this->_doorStateTime = (int)$attr->UpdatedTime / 1000;
177
+                    break;
178
+                default:
179
+                    continue;
180 180
                 }
181 181
             }
182 182
         }
Please login to merge, or discard this patch.