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 ( 2447f9...22d8b6 )
by Vadim
02:00
created
ActiveRecord.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,9 @@
 block discarded – undo
110 110
     public function duplicate() {
111 111
         $this->isNewRecord = true;
112 112
 
113
-        foreach ($this->primaryKey() as $key)
114
-            $this->$key = null;
113
+        foreach ($this->primaryKey() as $key) {
114
+                    $this->$key = null;
115
+        }
115 116
 
116 117
         if ($this->save()) {
117 118
             return $this;
Please login to merge, or discard this patch.
LockedBehavior.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,9 @@
 block discarded – undo
29 29
     {
30 30
         $owner = $this->owner;
31 31
         if ($owner->hasAttribute($this->lockedAttribute)) {
32
-                    if (empty($owner->{$this->lockedAttribute}) || is_null($owner->{$this->lockedAttribute}))
33
-                $owner->{$this->lockedAttribute} = $this->valueUnlock;
32
+                    if (empty($owner->{$this->lockedAttribute}) || is_null($owner->{$this->lockedAttribute})) {
33
+                                    $owner->{$this->lockedAttribute} = $this->valueUnlock;
34
+                    }
34 35
         }
35 36
     }
36 37
 
Please login to merge, or discard this patch.
UserDataBehavior.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,9 @@
 block discarded – undo
17 17
 
18 18
     public function init()
19 19
     {
20
-        if (is_null($this->userClass))
21
-            $this->userClass = \Yii::$app->user->className();
20
+        if (is_null($this->userClass)) {
21
+                    $this->userClass = \Yii::$app->user->className();
22
+        }
22 23
     }
23 24
 
24 25
     /**
Please login to merge, or discard this patch.