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 ( 4887c8...13b199 )
by luca
06:47
created
src/Repository/TraitRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     public function findOneById($id)
101 101
     {
102 102
 
103
-        $compiledUrl = $this->baseUrl . $id.'?includeMetrics=true';
103
+        $compiledUrl = $this->baseUrl . $id . '?includeMetrics=true';
104 104
 
105 105
         $response = $this->client->request('GET', $compiledUrl);
106 106
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      */
169 169
     public function getTrendByTrait($sid, \DateTime $startDate, \DateTime $endDate, $dayInterval = '1D')
170 170
     {
171
-        $cacheKey = self::CACHE_NAMESPACE . sha1($startDate->getTimestamp().$endDate->getTimestamp());
171
+        $cacheKey = self::CACHE_NAMESPACE . sha1($startDate->getTimestamp() . $endDate->getTimestamp());
172 172
 
173 173
         if ($this->isCacheEnabled()) {
174 174
             if ($this->cache->contains($cacheKey)) {
Please login to merge, or discard this patch.