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 ( 6b6597...3ef0b6 )
by Vadim
33:56 queued 01:42
created
BeforeQueryTrait.php 1 patch
Braces   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,11 +19,12 @@
 block discarded – undo
19 19
             }
20 20
         }
21 21
 
22
-        if ($obj->hasAttribute($obj->removedAttribute))
23
-            return (new DynamicQuery($obj))->findRemoved()->andFilterWhere($condition);
24
-        elseif ($obj->isNestedSet())
25
-            return (new DynamicQuery($obj))->andFilterWhere($condition);
26
-        else
27
-            return parent::find()->andFilterWhere($condition);
22
+        if ($obj->hasAttribute($obj->removedAttribute)) {
23
+                    return (new DynamicQuery($obj))->findRemoved()->andFilterWhere($condition);
24
+        } elseif ($obj->isNestedSet()) {
25
+                    return (new DynamicQuery($obj))->andFilterWhere($condition);
26
+        } else {
27
+                    return parent::find()->andFilterWhere($condition);
28
+        }
28 29
     }
29 30
 }
Please login to merge, or discard this patch.
ActiveRecord.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,20 +101,20 @@
 block discarded – undo
101 101
             ];
102 102
         }
103 103
         
104
-        if($this->isNestedSet()){
104
+        if ($this->isNestedSet()) {
105 105
             $behaviors['tree'] = ArrayHelper::merge([
106 106
                 'class' => \creocoder\nestedsets\NestedSetsBehavior::className(),
107 107
                 'leftAttribute' => 'lft',
108 108
                 'rightAttribute' => 'rgt',
109 109
                 'depthAttribute' => 'depth',
110
-            ], ($this->hasAttribute('tree')?['treeAttribute' => 'tree']:[]));
110
+            ], ($this->hasAttribute('tree') ? ['treeAttribute' => 'tree'] : []));
111 111
         }
112 112
 
113 113
         return $behaviors;
114 114
     }
115 115
 
116
-    public function isNestedSet(){
117
-        return $this->hasAttribute('lft')&&$this->hasAttribute('rgt')&&$this->hasAttribute('depth');
116
+    public function isNestedSet() {
117
+        return $this->hasAttribute('lft') && $this->hasAttribute('rgt') && $this->hasAttribute('depth');
118 118
     }
119 119
 
120 120
     /**
Please login to merge, or discard this patch.