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.
Passed
Push — master ( ac5983...c9485c )
by Odiseo
04:52
created
src/EventListener/SetArticleAuthorListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $entity = $args->getEntity();
26 26
         $token = $this->tokenStorage->getToken();
27 27
 
28
-        if($entity instanceOf ArticleInterface && $token) {
28
+        if ($entity instanceOf ArticleInterface && $token) {
29 29
             $user = $token->getUser();
30 30
 
31 31
             if ($user instanceof AdminUserInterface) {
Please login to merge, or discard this patch.
src/Factory/ArticleCommentFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->decoratedFactory = $decoratedFactory;
21 21
 
22 22
         $token = $tokenStorage->getToken();
23
-        $this->shopUser = $token?$token->getUser():null;
23
+        $this->shopUser = $token ? $token->getUser() : null;
24 24
     }
25 25
 
26 26
     /**
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         /** @var \Odiseo\SyliusBlogPlugin\Model\ArticleCommentInterface $articleComment */
40 40
         $articleComment = $this->decoratedFactory->createNewWithArticleOrComment($articleId, $commentId);
41 41
 
42
-        if($this->shopUser instanceof ShopUserInterface) {
42
+        if ($this->shopUser instanceof ShopUserInterface) {
43 43
             $articleComment->setAuthor($this->shopUser);
44 44
         }
45 45
 
Please login to merge, or discard this patch.
src/Model/ArticleComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function getUsername()
38 38
     {
39 39
         $author = $this->getAuthor();
40
-        if($author) {
40
+        if ($author) {
41 41
             return $author->getUsername();
42 42
         }
43 43
 
Please login to merge, or discard this patch.