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 ( fc2f08...10d0e6 )
by
unknown
61:03
created
plugins/fusionforge_compat/include/arc/store/ARC2_RemoteStore.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
   
59 59
   /*  */
60 60
   
61
+  /**
62
+   * @param string $q
63
+   */
61 64
   function query($q, $result_format = '', $src = '', $keep_bnode_ids = 0, $log_query = 0) {
62 65
     if ($log_query) $this->logQuery($q);
63 66
     ARC2::inc('SPARQLPlusParser');
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_Store.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
   
93 93
   /*  */
94 94
   
95
+  /**
96
+   * @return string
97
+   */
95 98
   function getCollation() {
96 99
     $rs = $this->queryDB('SHOW TABLE STATUS LIKE "' . $this->getTablePrefix(). 'setting"', $this->getDBCon());
97 100
     return ($rs && ($row = mysql_fetch_array($rs)) && isset($row['Collation'])) ? $row['Collation'] : '';
@@ -109,6 +112,9 @@  discard block
 block discarded – undo
109 112
 
110 113
   /*  */
111 114
 
115
+  /**
116
+   * @param string $tbl
117
+   */
112 118
   function hasHashColumn($tbl) {
113 119
     $var_name = 'has_hash_column_' . $tbl;
114 120
     if (!isset($this->$var_name)) {
@@ -203,6 +209,9 @@  discard block
 block discarded – undo
203 209
     return ($rs && ($row = mysql_fetch_array($rs))) ? 1 : 0;
204 210
   }
205 211
   
212
+  /**
213
+   * @param string $k
214
+   */
206 215
   function getSetting($k, $default = 0) {
207 216
     $tbl = $this->getTablePrefix() . 'setting';
208 217
     $sql = "SELECT val FROM " . $tbl . " WHERE k = '" .md5($k). "'";
@@ -213,6 +222,9 @@  discard block
 block discarded – undo
213 222
     return $default;
214 223
   }
215 224
   
225
+  /**
226
+   * @param string $k
227
+   */
216 228
   function setSetting($k, $v) {
217 229
     $con = $this->getDBCon();
218 230
     $tbl = $this->getTablePrefix() . 'setting';
@@ -225,6 +237,9 @@  discard block
 block discarded – undo
225 237
     return $this->queryDB($sql, $con);
226 238
   }
227 239
   
240
+  /**
241
+   * @param string $k
242
+   */
228 243
   function removeSetting($k) {
229 244
     $tbl = $this->getTablePrefix() . 'setting';
230 245
     return $this->queryDB("DELETE FROM " . $tbl . " WHERE k = '" . md5($k) . "'", $this->getDBCon());
@@ -376,6 +391,9 @@  discard block
 block discarded – undo
376 391
   
377 392
   /*  */
378 393
   
394
+  /**
395
+   * @param string $q
396
+   */
379 397
   function query($q, $result_format = '', $src = '', $keep_bnode_ids = 0, $log_query = 0) {
380 398
     if ($log_query) $this->logQuery($q);
381 399
     $con = $this->getDBCon();
@@ -464,6 +482,9 @@  discard block
 block discarded – undo
464 482
     return abs(crc32($val));
465 483
   }
466 484
 
485
+  /**
486
+   * @return resource|null
487
+   */
467 488
   function getTermID($val, $term = '') {
468 489
     $tbl = preg_match('/^(s|o)$/', $term) ? $term . '2val' : 'id2val';
469 490
     $con = $this->getDBCon();
@@ -605,6 +626,9 @@  discard block
 block discarded – undo
605 626
     );
606 627
   }
607 628
   
629
+  /**
630
+   * @param string[] $ps
631
+   */
608 632
   function inferLabelProps($ps) {
609 633
     $this->query('DELETE FROM <label-properties>');
610 634
     $sub_q = '';
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_StoreDumper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
 
83 83
   /*  */
84 84
 
85
+  /**
86
+   * @param string $q
87
+   */
85 88
   function saveCustomSPOG($path, $q) {
86 89
     if (!$fp = @fopen($path, 'w')) return $this->addError('Could not create backup file at ' . realpath($path));
87 90
     fwrite($fp, $this->getHeader());
@@ -95,6 +98,9 @@  discard block
 block discarded – undo
95 98
   
96 99
   /*  */
97 100
 
101
+  /**
102
+   * @param integer $offset
103
+   */
98 104
   function getRecordset($offset) {
99 105
     $prefix = $this->store->getTablePrefix();
100 106
     $con = $this->store->getDBCon();
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_StoreEndpoint.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
 
34 34
   /*  */
35 35
   
36
+  /**
37
+   * @return string
38
+   */
36 39
   function getQueryString($mthd = '') {
37 40
     $r = '';
38 41
     if (!$mthd || ($mthd == 'post')) {
@@ -65,6 +68,10 @@  discard block
 block discarded – undo
65 68
     return $this->v1('endpoint_features', array(), $this->a);
66 69
   }
67 70
 
71
+  /**
72
+   * @param string $k
73
+   * @param string $v
74
+   */
68 75
   function setHeader($k, $v) {
69 76
     $this->headers[$k] = $v;
70 77
   }
@@ -78,6 +85,9 @@  discard block
 block discarded – undo
78 85
     }
79 86
   }
80 87
   
88
+  /**
89
+   * @return string
90
+   */
81 91
   function getResult() {
82 92
     return $this->result;
83 93
   }
@@ -289,6 +299,9 @@  discard block
 block discarded – undo
289 299
   
290 300
   /*  */
291 301
 
302
+  /**
303
+   * @param string $default
304
+   */
292 305
   function getResultFormat($formats, $default) {
293 306
     $prefs = array();
294 307
     /* arg */
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_StoreLoadQueryHandler.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -179,6 +179,10 @@  discard block
 block discarded – undo
179 179
     return 1;
180 180
   }
181 181
 
182
+  /**
183
+   * @param string $type_id
184
+   * @param string $tbl
185
+   */
182 186
   function getTermID($val, $type_id, $tbl) {
183 187
     $con = $this->store->getDBCon();
184 188
     /* buffered */
@@ -415,6 +419,9 @@  discard block
 block discarded – undo
415 419
     return 1;
416 420
   }
417 421
 
422
+  /**
423
+   * @param string $er
424
+   */
418 425
   function autoRepairTable($er, $con, $sql = '') {
419 426
     $this->addError('MySQL error: ' . $er . ' (' . $sql . ')');
420 427
     if (preg_match('/Table \'[^\']+\/([a-z0-9\_\-]+)\' .*(crashed|repair)/i', $er, $m)) {
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_StoreQueryHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
     return $this->store->getTermID($val, $term);
36 36
   }
37 37
 
38
+  /**
39
+   * @param string $tbl
40
+   */
38 41
   function hasHashColumn($tbl) {
39 42
     return $this->store->hasHashColumn($tbl);
40 43
   }
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/store/ARC2_StoreSelectQueryHandler.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@  discard block
 block discarded – undo
141 141
     );
142 142
   }
143 143
 
144
+  /**
145
+   * @param string $tmp_tbl
146
+   */
144 147
   function getTempTableDef($tmp_tbl, $q_sql) {
145 148
     $col_part = preg_replace('/^SELECT\s*(DISTINCT)?(.*)FROM.*$/s', '\\2', $q_sql);
146 149
     $parts = explode(',', $col_part);
@@ -217,6 +220,9 @@  discard block
 block discarded – undo
217 220
   
218 221
   /*  */
219 222
   
223
+  /**
224
+   * @param integer $id
225
+   */
220 226
   function buildIndex($pattern, $id) {
221 227
     $pattern['id'] = $id;
222 228
     $type = $this->v('type', '', $pattern);
@@ -407,6 +413,9 @@  discard block
 block discarded – undo
407 413
     return $pn['id'];
408 414
   }
409 415
   
416
+  /**
417
+   * @param string $id
418
+   */
410 419
   function sameOptional($id, $id2) {
411 420
     return $this->getOptionalPattern($id) == $this->getOptionalPattern($id2);
412 421
   }
@@ -907,6 +916,9 @@  discard block
 block discarded – undo
907 916
 
908 917
   /*  */
909 918
   
919
+  /**
920
+   * @param string $sql
921
+   */
910 922
   function addConstraintSQLEntry($id, $sql) {
911 923
     if (!isset($this->index['constraints'][$id])) {
912 924
       $this->index['constraints'][$id] = array();
@@ -1464,6 +1476,9 @@  discard block
 block discarded – undo
1464 1476
     return $tbl_alias . ' IS NOT NULL';
1465 1477
   }
1466 1478
 
1479
+  /**
1480
+   * @param integer $type
1481
+   */
1467 1482
   function getHasTypeCallSQL($pattern, $context, $type) {
1468 1483
     $r = '';
1469 1484
     $var = $pattern['args'][0]['value'];
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/fusionforge/RBAC.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         return new RBACEngine();
24 24
     }
25 25
     
26
+    /**
27
+     * @param PFUser|null $user_obj
28
+     */
26 29
     function getAvailableRolesForUser($user_obj) {
27 30
         return array();
28 31
     }
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/fusionforge/user_get_object_by_name.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
  *
26 26
  * @param	string	The unix username - required
27 27
  * @param	int	The result set handle ("SELECT * FROM USERS WHERE user_id=xx")
28
- * @return	a user object or false on failure
28
+ * @return	PFUser|null user object or false on failure
29 29
  */
30 30
 function user_get_object_by_name($user_name, $res = false) {
31 31
     return UserManager::instance()->getUserByIdentifier($user_name);
Please login to merge, or discard this patch.