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 ( 2c32a2...b98093 )
by
unknown
03:55
created
src/LPTracker/LPTracker.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -165,13 +165,13 @@  discard block
 block discarded – undo
165 165
      */
166 166
     public function setProjectCallbackUrl($project, $callbackUrl)
167 167
     {
168
-        if($project instanceof Project) {
168
+        if ($project instanceof Project) {
169 169
             $project = $project->getId();
170 170
         } else {
171 171
             $project = intval($project);
172 172
         }
173 173
 
174
-        $url = '/project/' . $project . '/callback-url';
174
+        $url = '/project/'.$project.'/callback-url';
175 175
         LPTrackerRequest::sendRequest($url, ['url' => $callbackUrl], 'PUT', $this->token, $this->address);
176 176
     }
177 177
 
@@ -803,13 +803,13 @@  discard block
 block discarded – undo
803 803
     {
804 804
         $leadId = $lead instanceof Lead
805 805
             ? $lead->getId()
806
-            : (int)$lead;
806
+            : (int) $lead;
807 807
 
808 808
         $customId = $custom instanceof Custom
809 809
             ? $custom->getId()
810
-            : (int)$custom;
810
+            : (int) $custom;
811 811
 
812
-        $url = '/lead/' . $leadId . '/file';
812
+        $url = '/lead/'.$leadId.'/file';
813 813
         $data = [
814 814
             'name'            => pathinfo($absolutePath, PATHINFO_BASENAME),
815 815
             'mime'            => mime_content_type($absolutePath),
@@ -894,8 +894,8 @@  discard block
 block discarded – undo
894 894
      */
895 895
     public function createCustom($project, $options)
896 896
     {
897
-        $projectId = $project instanceof Project ? $project->getId() : (int)$project;
898
-        $actionUrl = '/custom/' . $projectId . '/create';
897
+        $projectId = $project instanceof Project ? $project->getId() : (int) $project;
898
+        $actionUrl = '/custom/'.$projectId.'/create';
899 899
         $response = LPTrackerRequest::sendRequest($actionUrl, $options, 'POST', $this->token, $this->address);
900 900
 
901 901
         return new CustomField($response);
@@ -917,9 +917,9 @@  discard block
 block discarded – undo
917 917
      */
918 918
     public function getLeadsList($project, $offset = null, $limit = null, $sort = [], $isDeal = false)
919 919
     {
920
-        $projectId = $project instanceof Project ? $project->getId() : (int)$project;
920
+        $projectId = $project instanceof Project ? $project->getId() : (int) $project;
921 921
 
922
-        $actionUrl = '/lead/' . $projectId . '/list?' . http_build_query([
922
+        $actionUrl = '/lead/'.$projectId.'/list?'.http_build_query([
923 923
                 'offset'  => $offset,
924 924
                 'limit'   => $limit,
925 925
                 'sort'    => $sort,
Please login to merge, or discard this patch.